diff options
author | laixintao <laixintaoo@gmail.com> | 2020-08-28 09:41:39 +0800 |
---|---|---|
committer | laixintao <laixintaoo@gmail.com> | 2020-08-28 09:44:17 +0800 |
commit | 8f9287c3392623f608e4915fd43e5d302cf6fe74 (patch) | |
tree | 7369711c01688d61b65d351c1d24b591c691c49e | |
parent | f1161c6b5af87bad95e2c961a6385c4a88584984 (diff) |
bugfix: import in test for entry.py.
lint fix
-rw-r--r-- | iredis/client.py | 8 | ||||
-rw-r--r-- | tests/unittests/test_entry.py | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/iredis/client.py b/iredis/client.py index d831d24..ae093f6 100644 --- a/iredis/client.py +++ b/iredis/client.py @@ -72,7 +72,13 @@ class Client: self.scheme = scheme self.connection = self.create_connection( - host, port, db, password, path, scheme, username, + host, + port, + db, + password, + path, + scheme, + username, ) # all command upper case diff --git a/tests/unittests/test_entry.py b/tests/unittests/test_entry.py index 3e839b9..bfc7bec 100644 --- a/tests/unittests/test_entry.py +++ b/tests/unittests/test_entry.py @@ -6,12 +6,13 @@ from prompt_toolkit.formatted_text import FormattedText from iredis.entry import ( gather_args, parse_url, - DSN, SkipAuthFileHistory, write_result, is_too_tall, ) +from iredis.utils import DSN + @pytest.mark.parametrize( "is_tty,raw_arg_is_raw,final_config_is_raw", |