Files
tryton/modules/stock_package_shipping_ups/tests/test_scenario.py
T
Cédric Krier 6851e0314e Check OAuth environment to run UPS scenario
6723c2dced5b changed the environment variables needed to run the scenario.
(grafted from ab006c11a55f1f53a9794e9dc90a80da852300dc)

--HG--
branch : 7.0
2024-02-06 16:11:50 +01:00

13 lines
434 B
Python

# 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('UPS_CLIENT_ID')
and os.getenv('UPS_CLIENT_SECRET')
and os.getenv('UPS_ACCOUNT_NUMBER')):
def load_tests(*args, **kwargs):
return load_doc_tests(__name__, __file__, *args, **kwargs)