Beispiel #1
0
 def setUpClass(cls):
     super(PaymentsApiTests, cls).setUpClass()
     cls.response_catcher = HttpResponseCatcher()
     cls.controller = PaymentsApi(cls.config, cls.response_catcher)
 def setUpClass(cls):
     super(CatalogApiTests, cls).setUpClass()
     cls.response_catcher = HttpResponseCatcher()
     cls.controller = CatalogApi(cls.config, cls.response_catcher)
Beispiel #3
0
 def setUpClass(cls):
     super(V2EndpointsTests, cls).setUpClass()
     cls.response_catcher = HttpResponseCatcher()
     cls.controller = CustomersApi(cls.config, cls.response_catcher)
 def setUpClass(cls):
     super(V1EndpointsTests, cls).setUpClass()
     cls.response_catcher = HttpResponseCatcher()
     cls.controller = V1LocationsApi(cls.config, cls.response_catcher)
Beispiel #5
0
 def setUpClass(cls):
     super(EmployeesApiTests, cls).setUpClass()
     cls.response_catcher = HttpResponseCatcher()
     cls.controller = EmployeesApi(cls.config, cls.response_catcher)
 def setUp(self):
     """Method called once before every test in a test class."""
     self.response_catcher = HttpResponseCatcher()
     self.controller.http_call_back = self.response_catcher