Take saved files into account during assertion

This commit is contained in:
mike cullerton 2021-09-28 10:25:13 -04:00
parent 767a90faba
commit 89b8be0755
1 changed files with 1 additions and 1 deletions

View File

@ -138,5 +138,5 @@ class TestFileDataCleanup(BaseTest):
# assert correct versions are removed
new_count = session.query(FileDataModel).count()
self.assertEqual(set(deleted_models), set(replaced_models))
self.assertEqual(set(deleted_models).union(set(saved_models)), set(replaced_models))
self.assertEqual(file_data_model_count, new_count)