Skip to content

Commit 24c91e2

Browse files
committed
Updated features test
1 parent cb5aff7 commit 24c91e2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
import pytest
22

3+
from ted_sws.core.model.manifestation import RDFManifestation
34
from ted_sws.core.model.notice import NoticeStatus, Notice
5+
from tests import TEST_DATA_PATH
46

57

68
@pytest.fixture(scope="function")
79
def package_eligible_notice(publicly_available_notice) -> Notice:
810
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()
913
notice.update_status_to(NoticeStatus.ELIGIBLE_FOR_PACKAGING)
1014
return notice

0 commit comments

Comments
 (0)