chore: format

This commit is contained in:
askiiart 2024-11-11 19:52:15 -06:00
parent 238b7543c8
commit ee5b53a6cb
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30

10
test.py
View file

@ -82,7 +82,15 @@ class Tests(unittest.TestCase):
def test_package_list(self): def test_package_list(self):
create_test_data() create_test_data()
result = repo_cleanup.HelperFunctions.get_package_list(repo_path) 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) self.assertEqual(result, expected)