diff options
Diffstat (limited to 'tasks.py')
| -rw-r--r-- | tasks.py | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -40,7 +40,24 @@ def tests(c): """Run the redis-py test suite against the current python, with and without hiredis. """ - run("tox -e plain -e hiredis") + print("Starting Redis tests") + run("tox -e '{redis,cluster}'-'{plain,hiredis}'") + + +@task +def redis_tests(c): + """Run all Redis tests against the current python, + with and without hiredis.""" + print("Starting Redis tests") + run("tox -e redis-'{hiredis}'") + + +@task +def cluster_tests(c): + """Run all Redis Cluster tests against the current python, + with and without hiredis.""" + print("Starting RedisCluster tests") + run("tox -e cluster-'{plain,hiredis}'") @task |
