Skip to content

Commit

Permalink
Merge pull request #384 from OP-TED/feature/TED-1001
Browse files Browse the repository at this point in the history
Update test_notice_publisher_s3.py
  • Loading branch information
CaptainOfHacks authored Nov 22, 2022
2 parents 212b65c + ee1a08e commit aa237d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/features/notice_publisher/test_notice_publisher_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def the_notice_rdf_manifestation_publication_is_executed(publish_eligible_notice
publish_result = publish_notice_rdf_into_s3(notice=publish_eligible_notice, s3_publisher=s3_publisher,
bucket_name=s3_bucket_name)
assert publish_result
publish_eligible_notice.update_status_to(new_status=NoticeStatus.PUBLISHED)
return publish_eligible_notice


Expand All @@ -79,5 +78,5 @@ def the_rdf_manifestation_is_available_in_a_s3_bucket(s3_publisher, s3_bucket_na
@then('the notice status is PUBLISHED')
def the_notice_status_is_published(published_notice: Notice, s3_publisher, s3_bucket_name):
"""the notice status is PUBLISHED."""
assert published_notice.status == NoticeStatus.PUBLISHED
assert published_notice.status == NoticeStatus.ELIGIBLE_FOR_PUBLISHING

0 comments on commit aa237d3

Please sign in to comment.