from obsapi.personapi import ObsPersonApi prj = 'home:sbahling:obsapi:test' pkg = 'suse-hello-1.0' repo = 'SLE_12_SP3' arch = 'x86_64' personapi = ObsPersonApi(apiurl='https://api.opensuse.org') def test_person_get(): xml = personapi.get() assert '' in xml def test_person_get_user(): user = 'Admin' xml = personapi.get(user) assert '' in xml assert '