diff --git a/dialogflow/noxfile.py b/dialogflow/noxfile.py index 3bbef5d54f44..20cdfc620138 100644 --- a/dialogflow/noxfile.py +++ b/dialogflow/noxfile.py @@ -187,6 +187,7 @@ def _session_tests( ) -> None: # check for presence of tests test_list = glob.glob("*_test.py") + glob.glob("test_*.py") + test_list.extend(glob.glob("tests")) if len(test_list) == 0: print("No tests found, skipping directory.") else: