Ejemplo n.º 1
0
 def setup_imposter(self, file_name):
     imposter = self.mb.create_imposter('test_auth_client/stubs/' + file_name)
     api_client = ApiClient(BASE_URL=self.mb.get_imposter_url(imposter))
     return OktaAuthClient(OktaFactors(api_client))
 def setUp(self):
     self.api_client = ApiClient()
     self.auth_client = OktaAuthClient(OktaFactors(self.api_client))
     self.mb = MountebankProcess()
Ejemplo n.º 3
0
 def setUp(self):
     self.api_client = ApiClient(API_TOKEN='jrr-tolkien')
     self.auth_client = OktaAuthClient(OktaFactors(self.api_client))
     self.mb = MountebankProcess()