We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb5aff7 commit 24c91e2Copy full SHA for 24c91e2
1 file changed
tests/features/notice_packager/conftest.py
@@ -1,10 +1,14 @@
1
import pytest
2
3
+from ted_sws.core.model.manifestation import RDFManifestation
4
from ted_sws.core.model.notice import NoticeStatus, Notice
5
+from tests import TEST_DATA_PATH
6
7
8
@pytest.fixture(scope="function")
9
def package_eligible_notice(publicly_available_notice) -> Notice:
10
notice = publicly_available_notice
11
+ notice._distilled_rdf_manifestation.object_data = (
12
+ TEST_DATA_PATH / "notice_packager" / "templates" / "2021_S_004_003545_0.notice.rdf").read_text()
13
notice.update_status_to(NoticeStatus.ELIGIBLE_FOR_PACKAGING)
14
return notice
0 commit comments