-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/ted 39 #12
Feature/ted 39 #12
Conversation
Codecov Report
@@ Coverage Diff @@
## main #12 +/- ##
==========================================
+ Coverage 94.94% 95.01% +0.07%
==========================================
Files 19 19
Lines 336 341 +5
==========================================
+ Hits 319 324 +5
Misses 17 17
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well Done!
tests/e2e/notice_fetcher/conftest.py
Outdated
|
||
|
||
@pytest.fixture | ||
def notice_repository(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not duplicate fixtures.
The fixture resolution is hierarchical. So remove this one because it is defined in the parent package conftest.py
tests/e2e/notice_fetcher/conftest.py
Outdated
def notice_repository(): | ||
return FakeNoticeRepository() | ||
|
||
@pytest.fixture |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem here
from ted_sws.notice_fetcher.services.notice_fetcher import NoticeFetcher | ||
|
||
|
||
def test_notice_fetcher_by_identifier(): | ||
def test_notice_fetcher_by_identifier(notice_repository, ted_document_search): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elegant
No description provided.