test: Ignore running tests from /common/lib/pytest_cache.

This commit is contained in:
Usman Khalid
2021-03-02 22:00:47 +05:00
parent 1beb4f38a1
commit 6af0eb5c28

View File

@@ -211,7 +211,7 @@ class Env:
JS_REPORT_DIR = REPORT_DIR / 'javascript'
# Directories used for common/lib/tests
IGNORED_TEST_DIRS = ('__pycache__', '.cache')
IGNORED_TEST_DIRS = ('__pycache__', '.cache', '.pytest_cache')
LIB_TEST_DIRS = []
for item in (REPO_ROOT / "common/lib").listdir():
dir_name = (REPO_ROOT / 'common/lib' / item)