Skip to content

Commit

Permalink
Include IPN tests in runner
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Jul 19, 2010
1 parent 2c391f8 commit c8a3e88
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

if not settings.configured:
settings.configure(
ROOT_URLCONF='',
DATABASE_ENGINE='sqlite3',
PAYPAL_RECEIVER_EMAIL='%s@localhost' % (getpass.getuser(),),
PAYPAL_RECEIVER_EMAIL='[email protected]',
PAYPAL_TEST=True,
# Please dont make me create another test account and remove this from here :)
PAYPAL_WPP_USER='dcrame_1278645792_biz_api1.gmail.com',
Expand All @@ -18,6 +19,8 @@
INSTALLED_APPS=[
'paypal.pro',
'paypal.standard',
'paypal.standard.ipn',
# 'paypal.standard.pdt', # we need the PDT token
]
)

Expand All @@ -26,7 +29,7 @@

def runtests(*test_args):
if not test_args:
test_args = ['pro', 'standard']
test_args = ['pro', 'standard', 'ipn']
parent = dirname(abspath(__file__))
sys.path.insert(0, parent)
failures = run_tests(test_args, verbosity=1, interactive=True)
Expand Down

0 comments on commit c8a3e88

Please sign in to comment.