Skip to content

Commit

Permalink
Log test output to "{suffix}.log"
Browse files Browse the repository at this point in the history
  • Loading branch information
shailshouryya committed Dec 28, 2020
1 parent 2b6bb4f commit b1e784a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/test_shared.py
Expand Up @@ -87,7 +87,7 @@ def verify_update(driver, schafer5_url, test_file, full_file):
if is_reverse_chronological: suffix = 'reverse_chronological_videos_list'
else: suffix = 'chronological_videos_list'
create_file(test_file, suffix) # the file this function creates should be the SAME as the returned string to the file_name variable in the next line
file_name = driver.create_list_for(schafer5_url)
file_name = driver.create_list_for(schafer5_url, log_file=f'{suffix}.log')
# verify calling the create_list_for() method updates the partial file properly
compare_test_files_to_reference_files(full_file, file_name)

Expand Down

0 comments on commit b1e784a

Please sign in to comment.