MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / _skip_unless_remote

Function _skip_unless_remote

py/conftest.py:517–520  ·  view source on GitHub ↗

Skip tests living under ``test/selenium/webdriver/remote/`` unless ``--remote`` is set.

(request, is_remote)

Source from the content-addressed store, hash-verified

515
516
517def _skip_unless_remote(request, is_remote):
518 """Skip tests living under ``test/selenium/webdriver/remote/`` unless ``--remote`` is set."""
519 if request.node.path.parts[-2] == "remote" and not is_remote:
520 pytest.skip("Remote tests require the --remote flag")
521
522
523def _skip_if_remote(is_remote):

Callers 3

driverFunction · 0.85
firefox_optionsFunction · 0.85
chromium_optionsFunction · 0.85

Calls 1

skipMethod · 0.80

Tested by

no test coverage detected