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

        self.sdk_client.delete_service.return_value = None

        # Get the command object to test
        self.cmd = service.DeleteService(self.app, None)
コード例 #2
0
    def setUp(self):
        super(TestServiceDelete, self).setUp()

        self.service = compute_fakes.FakeService.create_one_service()

        self.service_mock.delete.return_value = None

        # Get the command object to test
        self.cmd = service.DeleteService(self.app, None)