skip tests on Windows that need bash

This commit is contained in:
Hans-Christoph Steiner 2021-06-14 20:53:14 +02:00
parent 1f5534d060
commit 36849b2fba
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
2 changed files with 2 additions and 0 deletions

View file

@ -54,6 +54,7 @@ class InitTest(unittest.TestCase):
config = fdroidserver.common.read_config(fdroidserver.common.options)
self.assertIsNone(config.get('keypass'))
@unittest.skipIf(os.name == 'nt', "calling main() like this hangs on Windows")
def test_main_in_empty_dir(self):
"""Test that `fdroid init` will find apksigner and add it to the config"""
testdir = tempfile.mkdtemp(