We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 488c0aa commit 9804c20Copy full SHA for 9804c20
noxfile-template.py
@@ -181,7 +181,9 @@ def py(session):
181
if session.python in TESTED_VERSIONS:
182
_session_tests(session)
183
else:
184
- print("SKIPPED: {} tests are disabled for this sample.".format(session.python))
+ session.skip("SKIPPED: {} tests are disabled for this sample.".format(
185
+ session.python
186
+ ))
187
188
189
#
@@ -192,7 +194,7 @@ def py(session):
192
194
def cloud_run(session):
193
195
"""Run tests for cloud run."""
196
if 'cloud_run' not in TEST_CONFIG['opt_in_sessions']:
- print('SKIPPED: cloud_run tests are disabled for this sample.')
197
+ session.skip('SKIPPED: cloud_run tests are disabled for this sample.')
198
return
199
200
if os.path.exists("requirements.txt"):
0 commit comments