Skip to content

Commit

Permalink
Merge pull request #17 from mikemill/fix_unittest_flush
Browse files Browse the repository at this point in the history
Only flush the current redis db and not all dbs
  • Loading branch information
mikemill committed Jul 29, 2017
2 parents 10ac705 + fb64281 commit 4277687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def connection(redis_db_num):
try:
yield conn
finally:
conn.flushall()
conn.flushdb()


@pytest.yield_fixture
Expand Down

0 comments on commit 4277687

Please sign in to comment.