Skip to content

Commit

Permalink
Update conftest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainOfHacks committed Mar 10, 2024
1 parent 61c4f0c commit 492d5e8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/features/notice_fetcher/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

import pytest

from ted_sws.notice_fetcher.adapters.ted_api import TedAPIAdapter
from ted_sws.notice_fetcher.services.notice_fetcher import NoticeFetcher
from tests.fakes.fake_ted_api import FakeTedApiAdapter, FakeRequestAPI
from tests.fakes.fake_ted_api import FakeTedApiAdapter


@pytest.fixture
Expand Down Expand Up @@ -40,4 +39,4 @@ def fetch_query(fetch_wildcard_date):
@pytest.fixture
def notice_fetcher(notice_repository, ted_api_end_point):
return NoticeFetcher(notice_repository=notice_repository,
ted_api_adapter=TedAPIAdapter(FakeRequestAPI()))
ted_api_adapter=FakeTedApiAdapter())

0 comments on commit 492d5e8

Please sign in to comment.