Read about our upcoming Code of Conduct on this issue

Commit 2ce3c208 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

mirror: also test for the url of the mirror

parent 6b2ba3fa2178
......@@ -7,9 +7,11 @@
def test_create(test_project):
mirror = test_project.api_create_mirror(url='https://hg.test',
url = 'https://hg.test'
mirror = test_project.api_create_mirror(url=url,
info = mirror.api_get()
assert info['url'] == url
assert info['hg_mirror_type'] == 'hg-pull'
assert info['enabled'] is False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment