chiark / gitweb /
switch import test to custom, small test app
authorHans-Christoph Steiner <hans@eds.org>
Mon, 7 Nov 2016 22:24:52 +0000 (23:24 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 16 Nov 2016 22:28:03 +0000 (23:28 +0100)
The test project should be moved to https://gitlab.com/fdroid/ci-test-app

tests/import.TestCase

index 7b846a5fd929859a98ed3bb0cea19a0049eb762a..8eef5acb87862c75a0ffae6852939873790fe88c 100755 (executable)
@@ -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__":