diff --git a/python-redis.spec b/python-redis.spec index 0e2aa09..640e39e 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -97,7 +97,7 @@ donttest="test_geopos or test_georadius" donttest="$donttest or test_xautoclaim" # gh#redis/redis-py#2679 donttest+=" or test_acl_getuser_setuser or test_acl_log" -%pytest -m 'not (onlycluster or redismod or ssl)' -k "not (dummyprefix or $donttest)" --ignore tests/test_ssl.py --ignore tests/test_asyncio/test_cluster.py --redis-url=redis://localhost:6379/ +%pytest -m 'not (onlycluster or redismod or ssl)' -k "not ($donttest)" --ignore tests/test_ssl.py --ignore tests/test_asyncio/test_cluster.py --redis-url=redis://localhost:6379/ %endif %files %{python_files}