Example #1
0
 def test_accept_commission(self):
     """Test function call of accept_commission"""
     global token, auth_url
     try:
         client = AstakosClient(token['id'], auth_url)
         client.accept_commission(57)
     except Exception as err:
         self.fail("Shouldn't raise Exception %s" % err)
Example #2
0
 def test_accept_commission(self):
     """Test function call of accept_commission"""
     global token, auth_url
     try:
         client = AstakosClient(token['id'], auth_url)
         client.accept_commission(57)
     except Exception as err:
         self.fail("Shouldn't raise Exception %s" % err)
Example #3
0
 def test_accept_commission(self):
     """Test function call of accept_commission"""
     global token_1
     _mock_request([_request_ok])
     try:
         client = AstakosClient("https://example.com")
         client.accept_commission(token_1, 57)
     except Exception as err:
         self.fail("Shouldn't raise Exception %s" % err)