Esempio n. 1
0
    def setUp(self):
        SavepointCase.setUp(self)
        CommonMixin.setUp(self)

        shopinvader_response.set_testmode(True)

        @self.addCleanup
        def cleanupShopinvaderResponseTestMode():
            shopinvader_response.set_testmode(False)
    def setUp(self):
        super(TestCommonPayment, self).setUp()
        shopinvader_response.set_testmode(True)

        @self.addCleanup
        def cleanupShopinvaderResponseTestMode():
            shopinvader_response.set_testmode(False)

        self.shopinvader_response = shopinvader_response.get()
Esempio n. 3
0
 def cleanupShopinvaderResponseTestMode():
     shopinvader_response.set_testmode(False)