mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add EXPENSIVE_TESTS
This commit is contained in:
parent
055cd5a6ba
commit
5a41f484ef
1 changed files with 1 additions and 0 deletions
|
@ -259,6 +259,7 @@ def pytest_runtest_setup(item):
|
|||
if expensive_tests_marker is not None:
|
||||
if item.config.getoption('--run-expensive') is False:
|
||||
pytest.skip('Expensive tests are disabled')
|
||||
os.environ['EXPENSIVE_TESTS'] = six.text_type(item.config.getoption('--run-expensive'))
|
||||
|
||||
skip_if_not_root_marker = item.get_marker('skip_if_not_root')
|
||||
if skip_if_not_root_marker is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue