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.
This commit is contained in:
Marcus Hoffmann 2020-08-25 23:09:28 +02:00
parent 394ad8f863
commit bc6fa986d1
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class VCSTest(unittest.TestCase):
# and now we want to use this clone as a source repo for fdroid build # and now we want to use this clone as a source repo for fdroid build
config = {} config = {}
os.mkdir("build") os.mkdir("build")
config['sdk_path'] = os.getenv('ANDROID_HOME') config['sdk_path'] = 'MOCKPATH'
config['ndk_paths'] = {'r10d': os.getenv('ANDROID_NDK_HOME')} config['ndk_paths'] = {'r10d': os.getenv('ANDROID_NDK_HOME')}
config['build_tools'] = 'FAKE_BUILD_TOOLS_VERSION' config['build_tools'] = 'FAKE_BUILD_TOOLS_VERSION'
config['java_paths'] = {'fake': 'fake'} config['java_paths'] = {'fake': 'fake'}