Skip to content

Commit

Permalink
Only flush the current redis db and not all dbs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemill committed Jul 29, 2017
1 parent d711b59 commit cf2ff64
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 cf2ff64

Please sign in to comment.