skip tests on Windows that need bash
This commit is contained in:
parent
1f5534d060
commit
36849b2fba
|
@ -332,6 +332,7 @@ class CommonTest(unittest.TestCase):
|
|||
re.search('android:versionCode="%s"' % build.versionCode, filedata)
|
||||
)
|
||||
|
||||
@unittest.skipIf(os.name == 'nt', "`fdroid build` assumes POSIX scripting")
|
||||
def test_prepare_sources_with_prebuild_subdir(self):
|
||||
testdir = tempfile.mkdtemp(
|
||||
prefix=inspect.currentframe().f_code.co_name, dir=self.tmpdir
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue