diff --git a/tests/common.TestCase b/tests/common.TestCase index 158f7701..2677c5f7 100755 --- a/tests/common.TestCase +++ b/tests/common.TestCase @@ -715,9 +715,10 @@ class CommonTest(unittest.TestCase): fdroidserver.common.fill_config_defaults(config) fdroidserver.common.config = config self._set_build_tools() - aapt = fdroidserver.common.find_sdk_tools_cmd('aapt') - if aapt: + try: config['aapt'] = fdroidserver.common.find_sdk_tools_cmd('aapt') + except fdroidserver.exception.FDroidException: + pass # aapt is not required if androguard is present testcases = [ ('repo/obb.main.twoversions_1101613.apk', 'obb.main.twoversions', '1101613', '0.1'),