File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
packages/google-cloud-bigquery Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414docker :
1515 image : gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16- digest : sha256:993a058718e84a82fda04c3177e58f0a43281a996c7c395e0a56ccc4d6d210d7
16+ digest : sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978
Original file line number Diff line number Diff line change @@ -208,8 +208,10 @@ def _session_tests(
208208 session : nox .sessions .Session , post_install : Callable = None
209209) -> None :
210210 # check for presence of tests
211- test_list = glob .glob ("*_test.py" ) + glob .glob ("test_*.py" )
212- test_list .extend (glob .glob ("tests" ))
211+ test_list = glob .glob ("**/*_test.py" , recursive = True ) + glob .glob (
212+ "**/test_*.py" , recursive = True
213+ )
214+ test_list .extend (glob .glob ("**/tests" , recursive = True ))
213215
214216 if len (test_list ) == 0 :
215217 print ("No tests found, skipping directory." )
Original file line number Diff line number Diff line change @@ -208,8 +208,10 @@ def _session_tests(
208208 session : nox .sessions .Session , post_install : Callable = None
209209) -> None :
210210 # check for presence of tests
211- test_list = glob .glob ("*_test.py" ) + glob .glob ("test_*.py" )
212- test_list .extend (glob .glob ("tests" ))
211+ test_list = glob .glob ("**/*_test.py" , recursive = True ) + glob .glob (
212+ "**/test_*.py" , recursive = True
213+ )
214+ test_list .extend (glob .glob ("**/tests" , recursive = True ))
213215
214216 if len (test_list ) == 0 :
215217 print ("No tests found, skipping directory." )
Original file line number Diff line number Diff line change @@ -208,8 +208,10 @@ def _session_tests(
208208 session : nox .sessions .Session , post_install : Callable = None
209209) -> None :
210210 # check for presence of tests
211- test_list = glob .glob ("*_test.py" ) + glob .glob ("test_*.py" )
212- test_list .extend (glob .glob ("tests" ))
211+ test_list = glob .glob ("**/*_test.py" , recursive = True ) + glob .glob (
212+ "**/test_*.py" , recursive = True
213+ )
214+ test_list .extend (glob .glob ("**/tests" , recursive = True ))
213215
214216 if len (test_list ) == 0 :
215217 print ("No tests found, skipping directory." )
You can’t perform that action at this time.
0 commit comments