You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some live servers support fixtures with a scope other than session, for example pytest-flask. When using a narrower scope with a custom base_url fixture, it is unable to be injected into the wider scoped _verify_url fixture:
ScopeMismatch: You tried to access the package scoped fixture base_url with a session scoped request object, involved factories:
.venv/lib/python3.12/site-packages/pytest_base_url/plugin.py:19: def _verify_url(request, base_url)
Could the fixtures support dynamic scopes to resolve this?
The text was updated successfully, but these errors were encountered:
Some live servers support fixtures with a scope other than
session
, for example pytest-flask. When using a narrower scope with a custombase_url
fixture, it is unable to be injected into the wider scoped_verify_url
fixture:Could the fixtures support dynamic scopes to resolve this?
The text was updated successfully, but these errors were encountered: