コード例 #1
0
    def setUp(self):
        super(TestAggregateDelete, self).setUp()

        self.aggregate_mock.get.return_value = self.fake_ag
        self.cmd = aggregate.DeleteAggregate(self.app, None)
コード例 #2
0
    def setUp(self):
        super(TestAggregateDelete, self).setUp()

        self.aggregate_mock.get = (compute_fakes.FakeAggregate.get_aggregates(
            self.fake_ags))
        self.cmd = aggregate.DeleteAggregate(self.app, None)
コード例 #3
0
    def setUp(self):
        super(TestAggregateDelete, self).setUp()

        self.sdk_client.find_aggregate = (
            compute_fakes.FakeAggregate.get_aggregates(self.fake_ags))
        self.cmd = aggregate.DeleteAggregate(self.app, None)