-
Notifications
You must be signed in to change notification settings - Fork 372
Closed
Description
Looks like this package now defines a pytest fixture named base_url that conflicts with another plugin https://pypi.org/project/pytest-base-url/ that defines the same fixture but with different scope
I started to get this error from a CI job here with the following logs:
ScopeMismatch: You tried to access the 'function' scoped fixture 'base_url' with a 'session' scoped request object, involved factories
../../../../__t/Python/3.8.6/x64/lib/python3.8/site-packages/pytest_base_url/plugin.py:19: def _verify_url(request, base_url)
../../../../__t/Python/3.8.6/x64/lib/python3.8/site-packages/jupyter_server/pytest_plugin.py:205: def base_url()
Not sure if there is a better way to fix this other than renaming the fixture here to something like jupyter_base_url.
Metadata
Metadata
Assignees
Labels
No labels