mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
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:
parent
f8dca60a20
commit
b4a39ee272
@ -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__":
|
||||
|
Loading…
Reference in New Issue
Block a user