regen off

This commit is contained in:
Jesse Bannon 2023-01-14 16:15:04 -08:00
parent 9078f39f81
commit 87576a52c7
3 changed files with 2 additions and 4 deletions

View file

@ -49,11 +49,9 @@ class TestBandcamp:
output_directory=output_directory, output_directory=output_directory,
transaction_log=transaction_log, transaction_log=transaction_log,
transaction_log_summary_file_name="bandcamp/test_artist_url.txt", transaction_log_summary_file_name="bandcamp/test_artist_url.txt",
regenerate_transaction_log=True,
) )
assert_expected_downloads( assert_expected_downloads(
output_directory=output_directory, output_directory=output_directory,
dry_run=dry_run, dry_run=dry_run,
expected_download_summary_file_name="bandcamp/test_artist_url.json", expected_download_summary_file_name="bandcamp/test_artist_url.json",
regenerate_expected_download_summary=True,
) )

View file

@ -117,7 +117,7 @@ def assert_expected_downloads(
dry_run: bool, dry_run: bool,
expected_download_summary_file_name: str, expected_download_summary_file_name: str,
ignore_md5_hashes_for: Optional[List[str]] = None, ignore_md5_hashes_for: Optional[List[str]] = None,
regenerate_expected_download_summary: bool = True, regenerate_expected_download_summary: bool = False,
): ):
if dry_run: if dry_run:
output_directory_contents = list(Path(output_directory).rglob("*")) output_directory_contents = list(Path(output_directory).rglob("*"))

View file

@ -12,7 +12,7 @@ def assert_transaction_log_matches(
output_directory: str, output_directory: str,
transaction_log: FileHandlerTransactionLog, transaction_log: FileHandlerTransactionLog,
transaction_log_summary_file_name: str, transaction_log_summary_file_name: str,
regenerate_transaction_log: bool = True, regenerate_transaction_log: bool = False,
): ):
""" """
Parameters Parameters