mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
include index-v2 in signindex tests
This commit is contained in:
parent
5448fa2a2d
commit
cbd4828561
@ -76,7 +76,15 @@ class SignindexTest(unittest.TestCase):
|
|||||||
fp.write('# placeholder')
|
fp.write('# placeholder')
|
||||||
shutil.copy(str(self.basedir / 'urzip.apk'), 'repo')
|
shutil.copy(str(self.basedir / 'urzip.apk'), 'repo')
|
||||||
index_files = []
|
index_files = []
|
||||||
for f in ('index.xml', 'index.jar', 'index-v1.json', 'index-v1.jar'):
|
for f in (
|
||||||
|
'entry.jar',
|
||||||
|
'entry.json',
|
||||||
|
'index-v1.jar',
|
||||||
|
'index-v1.json',
|
||||||
|
'index-v2.json',
|
||||||
|
'index.jar',
|
||||||
|
'index.xml',
|
||||||
|
):
|
||||||
for section in (Path('repo'), Path('archive')):
|
for section in (Path('repo'), Path('archive')):
|
||||||
path = section / f
|
path = section / f
|
||||||
self.assertFalse(path.exists(), '%s should not exist yet!' % path)
|
self.assertFalse(path.exists(), '%s should not exist yet!' % path)
|
||||||
|
Loading…
Reference in New Issue
Block a user