summaryrefslogtreecommitdiff
path: root/tests/test_scripting.py
diff options
context:
space:
mode:
authorBen Greenberg <bgreenberg@eventbrite.com>2017-06-15 12:56:41 -0700
committerBen Greenberg <bgreenberg@eventbrite.com>2017-06-15 12:56:41 -0700
commit5fceb43c0b8685411b0aa1db884a1a60ad075c09 (patch)
treef9d746f8686b77b5dcd55ddb58810784cd8d1e46 /tests/test_scripting.py
parente507749735137eda990c4d1b5322982deabfe707 (diff)
downloadredis-py-5fceb43c0b8685411b0aa1db884a1a60ad075c09.tar.gz
Fix icnorrect test
Diffstat (limited to 'tests/test_scripting.py')
-rw-r--r--tests/test_scripting.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_scripting.py b/tests/test_scripting.py
index 7d0f585..9131de8 100644
--- a/tests/test_scripting.py
+++ b/tests/test_scripting.py
@@ -109,8 +109,9 @@ class TestScripting(object):
msgpack_hello(args=[msgpack_message_1], client=pipe)
- assert r.script_exists(msgpack_hello.sha) == [True]
+ assert r.script_exists(msgpack_hello.sha) == [False]
assert pipe.execute()[0] == b'hello Joe'
+ assert r.script_exists(msgpack_hello.sha) == [True]
msgpack_hello_broken = r.register_script(msgpack_hello_script_broken)