From bc6fa986d1dbd060dc348310148c0e81e594d065 Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Tue, 25 Aug 2020 23:09:28 +0200 Subject: [PATCH] fix vcs test It doesn't need a valid sdk_path, so just set it to something. The test was failing when ANDROID_HOME wasn't set in the env. --- tests/vcs.TestCase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vcs.TestCase b/tests/vcs.TestCase index ffed7b89..a94521fa 100755 --- a/tests/vcs.TestCase +++ b/tests/vcs.TestCase @@ -57,7 +57,7 @@ class VCSTest(unittest.TestCase): # and now we want to use this clone as a source repo for fdroid build config = {} os.mkdir("build") - config['sdk_path'] = os.getenv('ANDROID_HOME') + config['sdk_path'] = 'MOCKPATH' config['ndk_paths'] = {'r10d': os.getenv('ANDROID_NDK_HOME')} config['build_tools'] = 'FAKE_BUILD_TOOLS_VERSION' config['java_paths'] = {'fake': 'fake'}