From 4e40ddd2ca7e7c5b76d0b3b6a54998d7487d370d Mon Sep 17 00:00:00 2001 From: wenx <162527450+wenxus@users.noreply.github.com> Date: Thu, 10 Oct 2024 14:55:15 -0700 Subject: [PATCH] Fix test 4 file search order, it should be descending order based on file size as titled --- practice_assessments/file_storage/test_simulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/practice_assessments/file_storage/test_simulation.py b/practice_assessments/file_storage/test_simulation.py index 0862744..e358a7d 100644 --- a/practice_assessments/file_storage/test_simulation.py +++ b/practice_assessments/file_storage/test_simulation.py @@ -51,7 +51,7 @@ def test_group_3(self): def test_group_4(self): output = simulate_coding_framework(self.test_data_4) - self.assertEqual(output, ["uploaded at Initial.txt", "uploaded at Update1.txt", "got at Initial.txt", "copied at Update1.txt to Update1Copy.txt", "uploaded at Update2.txt", "rollback to 2021-07-01T12:10:00", "got at Update1.txt", "got at Initial.txt", "found at [Update1.txt, Update1Copy.txt, Update2.txt]", "got at Update2.txt"]) + self.assertEqual(output, ["uploaded at Initial.txt", "uploaded at Update1.txt", "got at Initial.txt", "copied at Update1.txt to Update1Copy.txt", "uploaded at Update2.txt", "rollback to 2021-07-01T12:10:00", "got at Update1.txt", "got at Initial.txt", "found at [Update2.txt, Update1.txt, Update1Copy.txt]", "got at Update2.txt"]) if __name__ == '__main__': unittest.main()