From 5b3a2b608c4c4c5d4df4b07d9322279349085dc9 Mon Sep 17 00:00:00 2001 From: Scott Bahling Date: Thu, 13 Feb 2020 15:28:00 +0100 Subject: 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 --- test/test_obs_build_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_obs_build_api.py') 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 = '' 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 = '' 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 -- cgit v1.2.3