purge remnants of repo/categories.txt, which is long unused

This commit is contained in:
Hans-Christoph Steiner 2023-05-30 22:42:22 +02:00
parent 1c3a87e002
commit bc58959315
6 changed files with 16 additions and 33 deletions

View file

@ -2509,8 +2509,7 @@ class CommonTest(unittest.TestCase):
'repo/index.png',
'repo/index.xml',
]
non_repo_files = ['repo/categories.txt']
for f in repo_files + index_files + non_repo_files:
for f in repo_files + index_files:
open(f, 'w').close()
repo_dirs = [
@ -2543,10 +2542,6 @@ class CommonTest(unittest.TestCase):
self.assertTrue(os.path.exists(d), d + ' was created')
self.assertFalse(is_repo_file(d), d + ' not repo file')
for f in non_repo_files:
self.assertTrue(os.path.exists(f), f + ' was created')
self.assertFalse(is_repo_file(f), f + ' not repo file')
def test_get_apksigner_smartcardoptions(self):
os.chdir(self.tmpdir)
with open('config.yml', 'w') as fp: