switch import test to custom, small test app

The test project should be moved to https://gitlab.com/fdroid/ci-test-app
This commit is contained in:
Hans-Christoph Steiner 2016-11-07 23:24:52 +01:00
parent f8dca60a20
commit b4a39ee272
1 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ class ImportTest(unittest.TestCase):
fdroidserver.common.fill_config_defaults(config)
fdroidserver.common.config = config
url = 'https://gitlab.com/fdroid/fdroidclient'
url = 'https://gitlab.com/eighthave/ci-test-app'
r = requests.head(url)
if r.status_code != 200:
print("ERROR", url, 'unreachable (', r.status_code, ')')
@ -41,8 +41,8 @@ class ImportTest(unittest.TestCase):
app.UpdateCheckMode = "Tags"
root_dir, src_dir = import_proxy.get_metadata_from_url(app, url)
self.assertEqual(app.RepoType, 'git')
self.assertEqual(app.WebSite, 'https://gitlab.com/fdroid/fdroidclient')
self.assertEqual(app.Repo, 'https://gitlab.com/fdroid/fdroidclient.git')
self.assertEqual(app.WebSite, 'https://gitlab.com/eighthave/ci-test-app')
self.assertEqual(app.Repo, 'https://gitlab.com/eighthave/ci-test-app.git')
if __name__ == "__main__":