diff options
author | Hendrik Muhs <hendrik@cliqz.com> | 2014-12-04 10:25:39 +0100 |
---|---|---|
committer | Hendrik Muhs <hendrik@cliqz.com> | 2014-12-04 10:25:39 +0100 |
commit | 2e05913f002d1b08a09d47f6506dacd53bafe052 (patch) | |
tree | bdd82632ac3f6241cbd1f89718a86e9abedfb3a4 /tests/test_scripting.py | |
parent | e31e98ba66cf3b16fc6a1658b23400102a782f11 (diff) | |
download | redis-py-2e05913f002d1b08a09d47f6506dacd53bafe052.tar.gz |
fix pep8
Diffstat (limited to 'tests/test_scripting.py')
-rw-r--r-- | tests/test_scripting.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_scripting.py b/tests/test_scripting.py index 2e6f549..e9971d5 100644 --- a/tests/test_scripting.py +++ b/tests/test_scripting.py @@ -97,17 +97,18 @@ class TestScripting(object): pipe = r.pipeline() - # avoiding a dependency to msgpack, this is the output of msgpack.dumps({"name": "joe"}) + # avoiding a dependency to msgpack, this is the output of + # msgpack.dumps({"name": "joe"}) msgpack_message_1 = b'\x81\xa4name\xa3Joe' - msgpack_hello(args=[msgpack_message_1], client = pipe) + msgpack_hello(args=[msgpack_message_1], client=pipe) assert r.script_exists(msgpack_hello.sha) == [True] assert pipe.execute()[0] == b'hello Joe' msgpack_hello_broken = r.register_script(msgpack_hello_script_broken) - msgpack_hello_broken(args=[msgpack_message_1], client = pipe) + msgpack_hello_broken(args=[msgpack_message_1], client=pipe) with pytest.raises(exceptions.ResponseError) as excinfo: pipe.execute() - assert excinfo.type == exceptions.ResponseError
\ No newline at end of file + assert excinfo.type == exceptions.ResponseError |