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()
def cleanupShopinvaderResponseTestMode(): shopinvader_response.set_testmode(False)