diff options
author | prettyboy <prettyboy@yandex-team.com> | 2022-12-22 21:57:05 +0300 |
---|---|---|
committer | prettyboy <prettyboy@yandex-team.com> | 2022-12-22 21:57:05 +0300 |
commit | 20fd4cc774d43eb2e87b3c0a23987cebfc85e7bd (patch) | |
tree | 20b42e282bf4f0eb57d62432214955197ab9efe1 /library/python/pytest/config.py | |
parent | dddccdd54f601383f3d4c752c27e3a1bf11424e7 (diff) | |
download | ydb-20fd4cc774d43eb2e87b3c0a23987cebfc85e7bd.tar.gz |
[library/python/pytest/yatest_tools] Fixed module discovering for tests with CONFTEST_LOAD_POLICY_LOCAL()
Diffstat (limited to 'library/python/pytest/config.py')
-rw-r--r-- | library/python/pytest/config.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/library/python/pytest/config.py b/library/python/pytest/config.py new file mode 100644 index 0000000000..703e442c0b --- /dev/null +++ b/library/python/pytest/config.py @@ -0,0 +1,9 @@ +_test_mode = [False] + + +def is_test_mode(): + return _test_mode[0] + + +def set_test_mode(): + _test_mode[0] = True |