Check OAuth environment to run UPS scenario

6723c2dced5b changed the environment variables needed to run the scenario.
(grafted from ab006c11a55f1f53a9794e9dc90a80da852300dc)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier
2024-02-06 16:11:50 +01:00
parent 282da30bfd
commit 6851e0314e
@@ -5,9 +5,8 @@ import os
from trytond.tests.test_tryton import load_doc_tests
if (os.getenv('UPS_USER_ID')
and os.getenv('UPS_PASSWORD')
and os.getenv('UPS_LICENSE')
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)