chore: format
This commit is contained in:
parent
238b7543c8
commit
ee5b53a6cb
1 changed files with 9 additions and 1 deletions
10
test.py
10
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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue