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

Function _skip_unless_remote

py/conftest.py:515–518  ·  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

513
514
515def _skip_unless_remote(request, is_remote):
516 """Skip tests living under ``test/selenium/webdriver/remote/`` unless ``--remote`` is set."""
517 if request.node.path.parts[-2] == "remote" and not is_remote:
518 pytest.skip("Remote tests require the --remote flag")
519
520
521def _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