Merging upstream version 1.14.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
455e66126a
commit
cd1500a24a
19 changed files with 152 additions and 114 deletions
|
@ -1,3 +1,4 @@
|
|||
from packaging.version import parse as version_parse # noqa: F401
|
||||
import pytest
|
||||
|
||||
|
||||
|
@ -37,7 +38,7 @@ def test_command_completion_when_space_command(cli, clean_redis):
|
|||
cli.expect("command info")
|
||||
|
||||
|
||||
@pytest.mark.skipif("int(os.environ['REDIS_VERSION']) < 6")
|
||||
@pytest.mark.skipif("version_parse(os.environ['REDIS_VERSION']) < version_parse('6')")
|
||||
def test_username_completer(cli, iredis_client):
|
||||
iredis_client.execute("acl setuser", "foo1")
|
||||
iredis_client.execute("acl setuser", "bar2")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue