tests package¶
Submodules¶
tests.test_verifone module¶
Tests for verifone package.
-
class
tests.test_verifone.TestVerifone(methodName='runTest')[source]¶ Bases:
unittest.case.TestCaseTest for Verifone package.
-
classmethod
setUpClass()[source]¶ Set up our Verifone client for tests. It requires the following environment variables: AGREEMENTCODE, RSAPRIVATEKEY and EMAIL
-
test_003_create_object_wrong_currency()[source]¶ Test creating a new object with wrong currency, so default currency should be used
-
test_004_create_object_currency_lower()[source]¶ Test creating a new object with currency in lower case
-
test_009_remove_saved_payment_method()[source]¶ Test to remove saved payment method when saved payment method is wrong
-
test_011_generate_payment_data()[source]¶ Test to generate payment data when all data is not defined
-
classmethod
Module contents¶
Unit test package for verifone.