File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -85,13 +85,6 @@ def pytest_addoption(parser):
8585 )
8686
8787
88- def pytest_configure (config ):
89- """Add custom markers for tests."""
90- config .addinivalue_line (
91- "markers" , "webextension: mark test as requiring webextension support (for chromium based browsers)"
92- )
93-
94-
9588def pytest_ignore_collect (collection_path , config ):
9689 drivers_opt = config .getoption ("drivers" )
9790 _drivers = set (drivers ).difference (drivers_opt or drivers )
Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ markers = [
8383 " xfail_safari: Tests expected to fail in Safari" ,
8484 " xfail_webkitgtk: Tests expected to fail in WebKitGTK" ,
8585 " xfail_wpewebkit: Tests expected to fail in WPEWebKit" ,
86- " no_driver_after_test: If there are no drivers after the test it will create a new one."
86+ " no_driver_after_test: If there are no drivers after the test it will create a new one." ,
87+ " webextension: Tests that require webextension support (adds special flags for Chrome/Edge)"
8788]
8889python_files = [" test_*.py" , " *_test.py" , " *_tests.py" ]
8990testpaths = [" test" ]
You can’t perform that action at this time.
0 commit comments