Skip to content

Commit

Permalink
Add unittest.main() call to test_database.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mcttn22 committed Mar 11, 2024
1 parent 3029543 commit abf8a47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file modified project-report/project-report.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions school_project/test/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,6 @@ def test_save_load_consistency(self) -> None:
# Compare test data with loaded data
for test_value, loaded_value in zip(test_data, loaded_data[1:]):
self.assertEqual(first=test_value, second=loaded_value)

if __name__ == "__main__":
unittest.main()

0 comments on commit abf8a47

Please sign in to comment.