def setUp(self):
    """See unittest.TestCase.setUp for full specification.

    Overriding implementations must call this implementation.
    """
    self.control = control.PauseFailControl()
    self.digest = digest.digest(
        stock_service.STOCK_TEST_SERVICE, self.control, None)

    self.stub, self.memo = self.set_up_implementation(
        self.digest.name, self.digest.methods,
        self.digest.inline_method_implementations, None)
Exemple #2
0
    def setUp(self):
        """See unittest.TestCase.setUp for full specification.

    Overriding implementations must call this implementation.
    """
        self.control = control.PauseFailControl()
        self.digest = digest.digest(stock_service.STOCK_TEST_SERVICE,
                                    self.control, None)

        self.stub, self.memo = self.set_up_implementation(
            self.digest.name, self.digest.methods,
            self.digest.event_method_implementations, None)