Appending files to populate correctly so test passes.

This commit is contained in:
Roland 2026-03-05 15:39:55 -07:00
parent bdaee3a60f
commit 6be6fe6e19
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -89,9 +89,9 @@ async def test_compare_file_groups_unchanged(test_session, test_directory, make_
'docs/file1.json',
])
# Create FileGroup in DB
# Create FileGroup in DB with both files
fg = FileGroup.from_paths(test_session, file1)
fg.files.append({'path': 'file1.json', 'mimetype': 'application/json', 'size': 0})
fg.append_files(file1_json)
test_session.commit()
result = await compare_file_groups(test_directory)