mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
update URL for git repo of test app
This commit is contained in:
parent
78a3e35ef7
commit
d08bd32a35
1 changed files with 3 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ class ImportTest(unittest.TestCase):
|
||||||
fdroidserver.common.fill_config_defaults(config)
|
fdroidserver.common.fill_config_defaults(config)
|
||||||
fdroidserver.common.config = config
|
fdroidserver.common.config = config
|
||||||
|
|
||||||
url = 'https://gitlab.com/eighthave/ci-test-app'
|
url = 'https://gitlab.com/fdroid/ci-test-app'
|
||||||
r = requests.head(url)
|
r = requests.head(url)
|
||||||
if r.status_code != 200:
|
if r.status_code != 200:
|
||||||
print("ERROR", url, 'unreachable (', r.status_code, ')')
|
print("ERROR", url, 'unreachable (', r.status_code, ')')
|
||||||
|
|
@ -42,8 +42,8 @@ class ImportTest(unittest.TestCase):
|
||||||
app.UpdateCheckMode = "Tags"
|
app.UpdateCheckMode = "Tags"
|
||||||
root_dir, src_dir = import_proxy.get_metadata_from_url(app, url)
|
root_dir, src_dir = import_proxy.get_metadata_from_url(app, url)
|
||||||
self.assertEqual(app.RepoType, 'git')
|
self.assertEqual(app.RepoType, 'git')
|
||||||
self.assertEqual(app.WebSite, 'https://gitlab.com/eighthave/ci-test-app')
|
self.assertEqual(app.WebSite, 'https://gitlab.com/fdroid/ci-test-app')
|
||||||
self.assertEqual(app.Repo, 'https://gitlab.com/eighthave/ci-test-app.git')
|
self.assertEqual(app.Repo, 'https://gitlab.com/fdroid/ci-test-app.git')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue