Skip to content

Commit

Permalink
Remove unused test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
bjgill committed May 12, 2021
1 parent bf002a5 commit c33d09e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from io import StringIO
from logging import Logger, StreamHandler

from boto.ec2.cloudwatch import CloudWatchConnection

from dmutils.logging import init_app as logging_init_app


Expand Down Expand Up @@ -45,14 +43,6 @@ def app_with_mocked_logger(request):
yield create_app(request)


@pytest.yield_fixture
def cloudwatch():
with mock.patch('dmutils.metrics.connect_to_region') as connect_to_region:
conn = mock.Mock(spec=CloudWatchConnection)
connect_to_region.return_value = conn
yield conn


@pytest.fixture
def os_environ(request):
env_patch = mock.patch('os.environ', {})
Expand Down

0 comments on commit c33d09e

Please sign in to comment.