Skip to content

Commit aa237d3

Browse files
Merge pull request #384 from OP-TED/feature/TED-1001
Update test_notice_publisher_s3.py
2 parents 212b65c + ee1a08e commit aa237d3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/features/notice_publisher/test_notice_publisher_s3.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def the_notice_rdf_manifestation_publication_is_executed(publish_eligible_notice
5757
publish_result = publish_notice_rdf_into_s3(notice=publish_eligible_notice, s3_publisher=s3_publisher,
5858
bucket_name=s3_bucket_name)
5959
assert publish_result
60-
publish_eligible_notice.update_status_to(new_status=NoticeStatus.PUBLISHED)
6160
return publish_eligible_notice
6261

6362

@@ -79,5 +78,5 @@ def the_rdf_manifestation_is_available_in_a_s3_bucket(s3_publisher, s3_bucket_na
7978
@then('the notice status is PUBLISHED')
8079
def the_notice_status_is_published(published_notice: Notice, s3_publisher, s3_bucket_name):
8180
"""the notice status is PUBLISHED."""
82-
assert published_notice.status == NoticeStatus.PUBLISHED
81+
assert published_notice.status == NoticeStatus.ELIGIBLE_FOR_PUBLISHING
8382

0 commit comments

Comments
 (0)