Files
tradon/modules/account_fr_chorus/tests/test_scenario.py
2025-12-26 13:11:43 +00:00

16 lines
580 B
Python
Executable File

# 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('CHORUS_PISTE_CLIENT_ID')
and os.getenv('CHORUS_PISTE_CLIENT_SECRET')
and os.getenv('CHORUS_LOGIN')
and os.getenv('CHORUS_PASSWORD')
and os.getenv('CHORUS_COMPANY_SIRET')
and os.getenv('CHORUS_CUSTOMER_SIRET')):
def load_tests(*args, **kwargs):
return load_doc_tests(__name__, __file__, *args, **kwargs)