diff options
| author | Scott Bahling <sbahling@suse.de> | 2018-08-24 20:55:11 +0200 |
|---|---|---|
| committer | Scott Bahling <sbahling@suse.de> | 2018-08-24 20:55:11 +0200 |
| commit | 1bc18d6abdbe553105f8528d141f9d7745f682af (patch) | |
| tree | 3c425d72228392605163585e265d1b220f916221 /test/test_api.py | |
| parent | 3a8daa2b7989e8e248fe45265aa5af8007927b31 (diff) | |
| download | obsapi-1bc18d6abdbe553105f8528d141f9d7745f682af.tar.gz obsapi-1bc18d6abdbe553105f8528d141f9d7745f682af.tar.xz obsapi-1bc18d6abdbe553105f8528d141f9d7745f682af.zip | |
Initial user and group methods for ObsApi class
Diffstat (limited to 'test/test_api.py')
| -rw-r--r-- | test/test_api.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_api.py b/test/test_api.py index 61ddae0..e5a82df 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -108,3 +108,15 @@ def test_project_locked(): assert api.locked(prj) is True api.unlock(prj) assert api.locked(prj) is False + + +def test_get_users(): + users = api.get_users(prj) + print users + assert len(users) > 0 + + +def test_get_groups(): + groups = api.get_groups(prj) + print groups + assert groups == [] |
