Initial import from Docker volume
This commit is contained in:
12
modules/account_payment_braintree/tests/test_scenario.py
Executable file
12
modules/account_payment_braintree/tests/test_scenario.py
Executable file
@@ -0,0 +1,12 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
import os
|
||||
|
||||
from trytond.tests.test_tryton import load_doc_tests
|
||||
|
||||
if (os.getenv('BRAINTREE_MERCHANT_ID')
|
||||
and os.getenv('BRAINTREE_PUBLIC_KEY')
|
||||
and os.getenv('BRAINTREE_PRIVATE_KEY')):
|
||||
def load_tests(*args, **kwargs):
|
||||
return load_doc_tests(__name__, __file__, *args, **kwargs)
|
||||
Reference in New Issue
Block a user