Exemplo n.º 1
0
 def setUp(self):
     super(CATestCommon, self).setUp()
     self.order_behaviors = order_behaviors.OrderBehaviors(self.client)
     self.ca_behaviors = ca_behaviors.CABehaviors(self.client)
     self.container_behaviors = container_behaviors.ContainerBehaviors(
         self.client)
     self.secret_behaviors = secret_behaviors.SecretBehaviors(self.client)
     self.simple_cmc_data = copy.deepcopy(order_simple_cmc_request_data)
Exemplo n.º 2
0
 def setUp(self):
     super(CertificatesTestCase, self).setUp()
     self.behaviors = order_behaviors.OrderBehaviors(self.client)
     self.ca_behaviors = ca_behaviors.CABehaviors(self.client)
     self.container_behaviors = container_behaviors.ContainerBehaviors(
         self.client)
     self.secret_behaviors = secret_behaviors.SecretBehaviors(self.client)
     self.simple_cmc_data = copy.deepcopy(order_simple_cmc_request_data)
     self.full_cmc_data = copy.deepcopy(order_full_cmc_request_data)
     self.stored_key_data = copy.deepcopy(order_stored_key_request_data)
     self.dogtag_custom_data = copy.deepcopy(
         order_dogtag_custom_request_data)
    def setUp(self):
        super(QuotaEnforcementTestCase, self).setUp()
        self.quota_behaviors = quota_behaviors.QuotaBehaviors(self.client)
        self.secret_behaviors = secret_behaviors.SecretBehaviors(self.client)
        self.container_behaviors = container_behaviors.ContainerBehaviors(
            self.client)
        self.order_behaviors = order_behaviors.OrderBehaviors(self.client)
        self.consumer_behaviors = consumer_behaviors.ConsumerBehaviors(
            self.client)
        self.ca_behaviors = ca_behaviors.CABehaviors(self.client)

        self.secret_data = self.get_default_secret_data()
        self.quota_data = self.get_default_quota_data()
        self.project_id = self.quota_behaviors.get_project_id_from_name(
            admin_b)
        self.order_secrets = []
        self.root_ca_ref = None
        self.test_order_sent = False