Commit bb910bf8 authored by Roland Koller's avatar Roland Koller
Browse files

- added get_roles() function

- version bump
parent 0f6c62c1
import unittest
from ecmind_blue_client.tcp_client import TcpClient as Client
from workflow import workflow
from ecmind_blue_client_workflow import workflow
class TestMethods(unittest.TestCase):
......@@ -11,5 +11,12 @@ class TestMethods(unittest.TestCase):
self.assertTrue('Organisation' in orgs.values())
def test_get_roles(self):
orgs = workflow.get_organisations(self.client, only_active=True)
for org in orgs:
roles = workflow.get_roles(self.client, org)
self.assertTrue('Adhoc' in roles.values())
if __name__ == '__main__':
unittest.main()
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment