summaryrefslogtreecommitdiff
path: root/test/test_api.py
diff options
context:
space:
mode:
authorScott Bahling <sbahling@suse.de>2018-08-24 20:55:11 +0200
committerScott Bahling <sbahling@suse.de>2018-08-24 20:55:11 +0200
commit1bc18d6abdbe553105f8528d141f9d7745f682af (patch)
tree3c425d72228392605163585e265d1b220f916221 /test/test_api.py
parent3a8daa2b7989e8e248fe45265aa5af8007927b31 (diff)
downloadobsapi-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.py12
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 == []