diff --git a/test.py b/test.py index 724b848..2624e43 100644 --- a/test.py +++ b/test.py @@ -82,7 +82,15 @@ class Tests(unittest.TestCase): def test_package_list(self): create_test_data() result = repo_cleanup.HelperFunctions.get_package_list(repo_path) - expected = ['example-program-8.4.3-5-x86_64.pkg.tar.zst', 'example-program-10.2.1-2-x86_64.pkg.tar.zst', 'example-program-debug-10.2.1-2-x86_64.pkg.tar.zst', 'test-debug-r87.e176baf-1-x86_64.pkg.tar.zst', 'test-debug-r100.ab937ef-1-x86_64.pkg.tar.zst', 'test-r87.e176baf-1-x86_64.pkg.tar.zst', 'test-r100.ab937ef-1-x86_64.pkg.tar.zst'] + expected = [ + 'example-program-8.4.3-5-x86_64.pkg.tar.zst', + 'example-program-10.2.1-2-x86_64.pkg.tar.zst', + 'example-program-debug-10.2.1-2-x86_64.pkg.tar.zst', + 'test-debug-r87.e176baf-1-x86_64.pkg.tar.zst', + 'test-debug-r100.ab937ef-1-x86_64.pkg.tar.zst', + 'test-r87.e176baf-1-x86_64.pkg.tar.zst', + 'test-r100.ab937ef-1-x86_64.pkg.tar.zst' + ] self.assertEqual(result, expected)