chiark / gitweb /
store fdroid signing-key-fp-list in stats dir
authorMichael Pöhn <michael.poehn@fsfe.org>
Tue, 5 Sep 2017 13:17:22 +0000 (15:17 +0200)
committerMichael Pöhn <michael.poehn@fsfe.org>
Tue, 26 Sep 2017 12:11:09 +0000 (14:11 +0200)
tests/index.TestCase

index da47036f79ad26154d514015bc2e7f57f9c53ba2..bf76b8120b7bdf71a90a502fcc86ab31b8cc6db7 100755 (executable)
@@ -211,8 +211,8 @@ class IndexTest(unittest.TestCase):
                     "signer": "b33a601a9da97c82e6eb121eb6b90adab561f396602ec4dc8b0019fb587e2af6"
                 }
             }
-            os.makedirs('repo')
-            jarfile = 'repo/publishsigkeys.jar'
+            os.makedirs('stats')
+            jarfile = 'stats/publishsigkeys.jar'
             with zipfile.ZipFile(jarfile, 'w', zipfile.ZIP_DEFLATED) as jar:
                 jar.writestr('publishsigkeys.json', json.dumps(sigkeyfps))
             fdroidserver.publish.sign_sig_key_fingerprint_list(jarfile)