Skip to content

Commit

Permalink
E2E finish test_download_since_last_run_with_missing_marker_file_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dplocki committed May 20, 2024
1 parent d8b1817 commit 89253cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions e2e/test_simple_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ def test_download_since_last_run_with_missing_marker_file_setup(
use_config: Callable[[Dict], None],
podcast_downloader: PodcastDownloaderRunner,
podcast_directory: PodcastDirectory,
marker_file_manager: MarkerFileManager,
):
# Arrange
feed.add_random_entries()
Expand All @@ -382,8 +381,9 @@ def test_download_since_last_run_with_missing_marker_file_setup(
}
)

# Act
podcast_downloader.run()

# Assert
assert podcast_downloader.is_containing("Marker file")
try:
# Act
podcast_downloader.run()
except Exception as error:
# Assert
assert "Missing the last run mark file" in error.stderr

0 comments on commit 89253cf

Please sign in to comment.