diff options
| author | Scott Bahling <sbahling@suse.com> | 2020-02-13 15:28:00 +0100 |
|---|---|---|
| committer | Scott Bahling <sbahling@suse.com> | 2020-02-13 15:28:00 +0100 |
| commit | 5b3a2b608c4c4c5d4df4b07d9322279349085dc9 (patch) | |
| tree | 7ac6b2131e941b264a033b98a7de2c911b125e26 /test/test_obs_build_api.py | |
| parent | b2e96e97ccbe3b6b670a8366dc1ff5ed775deddf (diff) | |
| download | obsapi-5b3a2b608c4c4c5d4df4b07d9322279349085dc9.tar.gz obsapi-5b3a2b608c4c4c5d4df4b07d9322279349085dc9.tar.xz obsapi-5b3a2b608c4c4c5d4df4b07d9322279349085dc9.zip | |
Make sure build api arguments match order of OBS api path items.
This of course breaks the API, but hopefully we stay consistent
from this point forward
Diffstat (limited to 'test/test_obs_build_api.py')
| -rw-r--r-- | test/test_obs_build_api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_obs_build_api.py b/test/test_obs_build_api.py index ff271ab..573e762 100644 --- a/test/test_obs_build_api.py +++ b/test/test_obs_build_api.py @@ -103,7 +103,7 @@ def test_build_get_builddepinfo(requests_mock): uri = '{}/build/{}/{}/{}/_builddepinfo'.format(buildapi.apiurl, prj, repo, arch) text = '<builddepinfo></builddepinfo>' requests_mock.get(uri, text=text) - xml = buildapi.get_builddepinfo(prj, pkg, repo, arch) + xml = buildapi.get_builddepinfo(prj, repo, arch, pkg) assert xml == text @@ -133,7 +133,7 @@ def test_build_get_buildinfo(requests_mock): uri = '{}/build/{}/{}/{}/{}/_buildinfo'.format(buildapi.apiurl, prj, repo, arch, pkg) text = '<buildinfo></buildinfo>' requests_mock.get(uri, text=text) - xml = buildapi.get_buildinfo(prj, pkg, repo, arch) + xml = buildapi.get_buildinfo(prj, repo, arch, pkg) assert xml == text |
