Skip to content

Commit

Permalink
fix notice publisher test with new METS package name
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainOfHacks committed Jan 19, 2024
1 parent 342deca commit a83824a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/features/notice_publisher/test_notice_publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def the_notice_publication_by_id_is_executed(publish_notice_id, notice_repositor
def the_mets_package_available_in_a_shared_sftp_drive(published_notice: Notice, sftp_remote_folder_path):
"""the METS package available in a shared SFTP drive."""
publisher: SFTPPublisher = SFTPPublisher()
remote_notice_path = f"{sftp_remote_folder_path}/{published_notice.ted_id}.zip"
assert published_notice.mets_manifestation
remote_notice_path = f"{sftp_remote_folder_path}/{published_notice.mets_manifestation.package_name}"
publisher.connect()
assert publisher.exists(remote_path=remote_notice_path)
publisher.disconnect()
Expand Down

0 comments on commit a83824a

Please sign in to comment.