File.d_text is reformatted to break up long lines.

This commit is contained in:
Roland 2022-12-27 15:41:55 -07:00
parent 35145d0335
commit 95c8610df2
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
9 changed files with 101 additions and 21 deletions

View file

@ -675,7 +675,7 @@ async def test_archive_download_index(test_session, test_directory, image_file):
assert archive.readability_path and archive.readability_path.exists()
assert archive.readability_json_path
assert archive.readability_txt_path and archive.readability_txt_path.exists()
assert archive.readability_txt_file.d_text == '{the,readability}', 'Readability text was not indexed'
assert archive.readability_txt_file.d_text == 'the readability', 'Readability text was not indexed'
assert archive.title == 'the singlefile', 'Did not get the title from the singlefile'
assert archive.screenshot_path and archive.screenshot_file and archive.screenshot_path.is_file(), \
'Did not store the screenshot'