From d552dd4883ad940247aa6f0bf605655357df3966 Mon Sep 17 00:00:00 2001 From: Scott Bahling Date: Wed, 4 Oct 2017 20:10:05 +0200 Subject: Move test project/package to build.opensuse.org --- test/test_obs_source_api.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/test_obs_source_api.py') diff --git a/test/test_obs_source_api.py b/test/test_obs_source_api.py index 205e344..a170713 100644 --- a/test/test_obs_source_api.py +++ b/test/test_obs_source_api.py @@ -1,12 +1,12 @@ from obsapi.sourceapi import ObsSourceApi -prj = 'Test:obsapi' +prj = 'home:sbahling:obsapi:test' pkg = 'suse-hello-1.0' -repo = 'SLE_12' +repo = 'SLE_12_SP3' arch = 'x86_64' -sourceapi = ObsSourceApi(apiurl='https://api.suse.com') +sourceapi = ObsSourceApi(apiurl='https://api.opensuse.org') def test_source_get_prj(): @@ -40,16 +40,16 @@ def test_source_get_prj_attributes(): def test_source_get_prj_attribute(): - xml = sourceapi.get_attribute(prj, attribute='OBS:MaintenanceIdTemplate') + xml = sourceapi.get_attribute(prj, attribute='OBS:Screenshots') assert '' in xml - assert 'name="MaintenanceIdTemplate"' in xml + assert 'name="Screenshots"' in xml assert 'namespace="OBS"' in xml def test_source_get_pkg_attributes(): xml = sourceapi.get_attribute(prj, pkg) assert '' in xml - assert 'name="ScreenShots"' in xml + assert 'name="Screenshots"' in xml assert 'namespace="OBS"' in xml -- cgit v1.2.3