Skip to content

Commit

Permalink
Remove duplicated fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
bmerry committed Jul 8, 2020
1 parent 4993516 commit d6f2429
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/test_fakeredis.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ def is_redis_running():
return True


@pytest.fixture
def fake_server(request):
server = fakeredis.FakeServer()
server.connected = request.node.get_closest_marker('disconnected') is None
return server


@pytest.fixture(params=['StrictRedis', 'FakeStrictRedis'])
def create_redis(request):
name = request.param
Expand Down

0 comments on commit d6f2429

Please sign in to comment.