示例#1
0
    def setUp(self):
        super(DeploymentPlanTests, self).setUp()

        self.master_template_store = stores.MasterTemplateStore()
        self.environment_store = stores.EnvironmentFileStore()
        self.store = stores.DeploymentPlanStore(
            master_template_store=self.master_template_store,
            environment_store=self.environment_store)

        self._create_plan()
示例#2
0
    def setUp(self):
        super(DeploymentPlanMockedTests, self).setUp()

        self.driver = Mock()

        self.master_template_store = Mock()
        self.environment_store = Mock()

        self.store = stores.DeploymentPlanStore(
            driver=self.driver,
            master_template_store=self.master_template_store,
            environment_store=self.environment_store)