Пример #1
0
    def setUp(self):
        super(S3ContribCore, self).setUp()

        self.load_backends()

        self.ec2_api = ec2.Manager()
        self.controller = s3.S3Controller()
Пример #2
0
    def setUp(self):
        super(S3ContribCore, self).setUp()

        self.load_backends()

        self.cred_blob, self.credential = unit.new_ec2_credential(
            self.user['id'], self.project_id)
        PROVIDERS.credential_api.create_credential(self.credential['id'],
                                                   self.credential)

        self.controller = s3.S3Controller()