Skip to content

Commit

Permalink
fix helloworld.py to fit new api
Browse files Browse the repository at this point in the history
  • Loading branch information
daTokenizer committed Nov 11, 2016
1 parent 40639d7 commit 148c605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helloworld.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def helloworld(redis_service):
redis_service.execute_command("dehydrator.pull", "y")

# and make sure that it's gone
assert(redis_service.execute_command("dehydrator.look", "y") == False)
assert(not redis_service.execute_command("dehydrator.look", "y"))
#or not
assert(redis_service.execute_command("dehydrator.look", "x") == True)
assert(redis_service.execute_command("dehydrator.look", "x"))

# poll at different times to get only the data that is done dehydrating
time.sleep(1)
Expand Down

0 comments on commit 148c605

Please sign in to comment.