summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/frontend/pull.py12
-rw-r--r--tests/frontend/push.py12
2 files changed, 8 insertions, 16 deletions
diff --git a/tests/frontend/pull.py b/tests/frontend/pull.py
index 07d664c5f..116bc9e49 100644
--- a/tests/frontend/pull.py
+++ b/tests/frontend/pull.py
@@ -53,14 +53,12 @@ def test_push_pull(cli, tmpdir, datafiles, user_url, project_url, override_url):
# Configure artifact share
cli.configure({
'artifacts': {
- 'pull-url': user_url,
- 'push-url': user_url,
+ 'url': user_url,
},
'projects': {
'test': {
'artifacts': {
- 'pull-url': override_url,
- 'push-url': override_url,
+ 'url': override_url,
}
}
}
@@ -71,8 +69,7 @@ def test_push_pull(cli, tmpdir, datafiles, user_url, project_url, override_url):
project_config = _yaml.load(project_conf_file)
project_config.update({
'artifacts': {
- 'pull-url': project_url,
- 'push-url': project_url,
+ 'url': project_url,
}
})
_yaml.dump(_yaml.node_sanitize(project_config), filename=project_conf_file)
@@ -137,8 +134,7 @@ def test_push_pull_all(cli, tmpdir, datafiles):
'pushers': 1
},
'artifacts': {
- 'pull-url': share.repo,
- 'push-url': share.repo,
+ 'url': share.repo,
}
})
diff --git a/tests/frontend/push.py b/tests/frontend/push.py
index 89a864d16..d4ae6c6dc 100644
--- a/tests/frontend/push.py
+++ b/tests/frontend/push.py
@@ -52,14 +52,12 @@ def test_push(cli, tmpdir, datafiles, user_url, project_url, override_url):
# Configure artifact share
cli.configure({
'artifacts': {
- 'pull-url': user_url,
- 'push-url': user_url,
+ 'url': user_url,
},
'projects': {
'test': {
'artifacts': {
- 'pull-url': override_url,
- 'push-url': override_url,
+ 'url': override_url,
}
}
}
@@ -70,8 +68,7 @@ def test_push(cli, tmpdir, datafiles, user_url, project_url, override_url):
project_config = _yaml.load(project_conf_file)
project_config.update({
'artifacts': {
- 'pull-url': project_url,
- 'push-url': project_url,
+ 'url': project_url,
}
})
_yaml.dump(_yaml.node_sanitize(project_config), filename=project_conf_file)
@@ -112,8 +109,7 @@ def test_push_all(cli, tmpdir, datafiles):
'pushers': 1
},
'artifacts': {
- 'pull-url': share.repo,
- 'push-url': share.repo,
+ 'url': share.repo,
}
})