Fix test that broke with c813a3cdbb

This commit is contained in:
Daniel Martí 2015-08-13 12:44:35 -07:00
parent 3b43e27cb8
commit 90a926dfb0
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class BuildTest(unittest.TestCase):
fdroidserver.build.config['build_tools'] = teststring
fdroidserver.build.adapt_gradle(os.path.dirname(__file__))
filedata = open(os.path.join(os.path.dirname(__file__), 'build.gradle')).read()
self.assertIsNotNone(re.search("\s+buildToolsVersion '%s'\s+" % teststring, filedata))
self.assertIsNotNone(re.search("\s+buildToolsVersion = '%s'\s+" % teststring, filedata))
if __name__ == "__main__":