We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85a3f44 commit fefd09dCopy full SHA for fefd09d
Dialogflow-CX/noxfile.py
@@ -207,8 +207,8 @@ def _session_tests(
207
session: nox.sessions.Session, post_install: Callable = None
208
) -> None:
209
# check for presence of tests
210
- test_list = glob.glob("*_test.py") + glob.glob("test_*.py")
211
- test_list.extend(glob.glob("tests"))
+ test_list = glob.glob("**/*_test.py", recursive=True) + glob.glob("**/test_*.py", recursive=True)
+ test_list.extend(glob.glob("**/tests", recursive=True))
212
213
if len(test_list) == 0:
214
print("No tests found, skipping directory.")
0 commit comments