From 1bc18d6abdbe553105f8528d141f9d7745f682af Mon Sep 17 00:00:00 2001 From: Scott Bahling Date: Fri, 24 Aug 2018 20:55:11 +0200 Subject: Initial user and group methods for ObsApi class --- test/test_api.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test') 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 == [] -- cgit v1.2.3