mirror of https://github.com/pyodide/pyodide.git
Cache selenium fixture at the module level
This commit is contained in:
parent
b47713d4f2
commit
6b51f3a21e
|
@ -103,7 +103,7 @@ class ChromeWrapper(SeleniumWrapper):
|
|||
|
||||
|
||||
if pytest is not None:
|
||||
@pytest.fixture(params=['firefox', 'chrome'])
|
||||
@pytest.fixture(params=['firefox', 'chrome'], scope='module')
|
||||
def selenium(request):
|
||||
if request.param == 'firefox':
|
||||
cls = FirefoxWrapper
|
||||
|
|
Loading…
Reference in New Issue