mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-14 19:20:29 +03:00
CI: install pyjks as dependency for tests
This commit is contained in:
parent
a114c73c2d
commit
d9a6bfb0a9
3 changed files with 9 additions and 3 deletions
|
|
@ -11,7 +11,6 @@
|
|||
#
|
||||
|
||||
import inspect
|
||||
import jks, jks.util
|
||||
import logging
|
||||
import optparse
|
||||
import os
|
||||
|
|
@ -192,6 +191,11 @@ class PublishTest(unittest.TestCase):
|
|||
self.assertEqual(len(randomappids), len(allaliases))
|
||||
|
||||
def test_create_key_if_not_existing(self):
|
||||
try:
|
||||
import jks
|
||||
import jks.util
|
||||
except ImportError:
|
||||
self.skipTest("pyjks not installed")
|
||||
common.config = {}
|
||||
common.fill_config_defaults(common.config)
|
||||
publish.config = common.config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue