Skip to content

Commit 70c59f9

Browse files
Merge pull request #398 from OP-TED/feature/TED-1046
Feature/ted 1046
2 parents 2897792 + 4907335 commit 70c59f9

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

ted_sws/notice_fetcher/adapters/ted_api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
DEFAULT_TED_API_QUERY_RESULT_FIELDS = {"fields": ["AA", "AC", "CY", "DD", "DI", "DS", "TVL", "TY",
1717
"DT", "MA", "NC", "ND", "OC", "OJ", "OL", "OY",
1818
"PC", "PD", "PR", "RC", "RN", "RP", "TD", "TVH",
19-
"CONTENT", "notice-type", "award-criterion-type", "corporate-body",
20-
"funding", "notice-identifier", "notice-version"
19+
"CONTENT",
20+
# INFO: This query result fields is not supported correctly by TED-API.
21+
#"notice-type", "award-criterion-type", "corporate-body",
22+
#"funding", "notice-identifier", "notice-version"
2123
]}
2224

2325
TOTAL_DOCUMENTS_NUMBER = "total"

tests/features/notice_publisher/test_notice_publisher_s3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def the_notice_mets_manifestation_publication_is_executed(publish_eligible_notic
4848
publish_result = publish_notice_into_s3(notice=publish_eligible_notice, s3_publisher=s3_publisher,
4949
bucket_name=s3_bucket_name)
5050
assert publish_result
51-
publish_eligible_notice.update_status_to(new_status=NoticeStatus.PUBLISHED)
5251
return publish_eligible_notice
5352

5453

0 commit comments

Comments
 (0)