Skip to content

Commit

Permalink
update conftests
Browse files Browse the repository at this point in the history
  • Loading branch information
duprijil committed Oct 4, 2023
1 parent 97b6258 commit 4f63665
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions tests/e2e/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from datetime import date

import mongomock
import pymongo
import pytest
Expand Down Expand Up @@ -78,3 +80,8 @@ def path_to_file_system_repository():
@pytest.fixture
def fake_notice_repository(fake_mongodb_client):
return NoticeRepository(mongodb_client=fake_mongodb_client)


@pytest.fixture
def example_date():
return date(2021, 1, 7)
7 changes: 0 additions & 7 deletions tests/e2e/data_manager/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from datetime import date

import pytest

from ted_sws.core.model.manifestation import RDFManifestation
Expand Down Expand Up @@ -227,8 +225,3 @@ def notice_with_distilled_status(notice_2020, rdf_file_content):
def packaged_notice():
test_notice_repository = NoticeRepositoryInFileSystem(repository_path=TEST_DATA_PATH / "notices" / "packaged")
return test_notice_repository.get("632521-2022")


@pytest.fixture
def example_date():
return date(2021, 1, 7)

0 comments on commit 4f63665

Please sign in to comment.