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

Function _skip_if_remote

py/conftest.py:523–526  ·  view source on GitHub ↗

Skip fixtures that build a local driver when ``--remote`` is set.

(is_remote)

Source from the content-addressed store, hash-verified

521
522
523def _skip_if_remote(is_remote):
524 """Skip fixtures that build a local driver when ``--remote`` is set."""
525 if is_remote:
526 pytest.skip("This fixture builds a local driver and is not applicable with --remote")
527
528
529def _apply_xfail_markers(request, driver_class, is_remote):

Callers 1

clean_driverFunction · 0.85

Calls 1

skipMethod · 0.80

Tested by

no test coverage detected