Skip to content

Commit

Permalink
fix missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
steveww committed Mar 17, 2021
1 parent ca390c6 commit bdc88e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions load-gen/robot-shop.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def load(self):

@task
def error(self):
fake_ip = random.choice(self.fake_ip_addresses)
if os.environ.get('ERROR') == '1':
print('Error request')
cart = {'total': 0, 'tax': 0}
Expand Down

0 comments on commit bdc88e6

Please sign in to comment.