forked from cuker/merchant-gateways
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.py
executable file
·29 lines (24 loc) · 1012 Bytes
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from os import path
here = path.dirname(path.abspath(__file__))
import sys;
sys.path.append(here + '/lib')
import unittest
from tests.unit.avs_result_test import *
from tests.unit.cvv_result_test import *
# from tests.unit.credit_card_formatting_tests import *
# from tests.unit.credit_card_methods_tests import *
from tests.unit.credit_card_tests import *
from tests.unit.gateways.authorize_net_tests import * # TODO import all in tests?
from tests.unit.gateways.bogus_tests import *
from tests.unit.gateways.braintree_gateway_tests import *
from tests.unit.gateways.cybersource_tests import *
from tests.unit.gateways.payflow_tests import *
from tests.unit.gateways.paymentech_orbital_tests import *
# TODO import with from future in fab system and test utils
if sys.argv.count('--xml'):
sys.argv.remove('--xml')
from tests.xmlrunner import XMLTestRunner
runner = XMLTestRunner()
else:
runner = unittest.TextTestRunner(verbosity=1, descriptions=False)
unittest.main(testRunner=runner)