Ejemplo n.º 1
0
 def run():
     res = BaruwaAPIClient(self.api_token, self.url, **self.client_opts)
     func(res)
Ejemplo n.º 2
0
 def setUp(self):
     """Setup API"""
     self.mock_request = mock.MagicMock()
     self.mock_response = mock.Mock(spec=Response)
     self.api = BaruwaAPIClient(API_TOKEN, API_URL)