first commit
This commit is contained in:
18
modules/web_shop_shopify/tests/test_scenario.py
Normal file
18
modules/web_shop_shopify/tests/test_scenario.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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 TEST_NETWORK, load_doc_tests
|
||||
|
||||
|
||||
def load_tests(*args, **kwargs):
|
||||
if (not TEST_NETWORK
|
||||
or not (os.getenv('SHOPIFY_PASSWORD')
|
||||
and os.getenv('SHOPIFY_URL'))):
|
||||
kwargs.setdefault('skips', set()).update({
|
||||
'scenario_web_shop_shopify.rst',
|
||||
'scenario_web_shop_shopify_secondary_unit.rst',
|
||||
'scenario_web_shop_shopify_product_kit.rst',
|
||||
})
|
||||
return load_doc_tests(__name__, __file__, *args, **kwargs)
|
||||
Reference in New Issue
Block a user