We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b6be5a commit 1797ee2Copy full SHA for 1797ee2
pytest_flask/plugin.py
@@ -108,8 +108,7 @@ def test_something(app):
108
return
109
110
app = getfixturevalue(request, 'app')
111
- options = request.keywords.get('options')
112
- if options is not None:
+ for options in request.node.iter_markers('options'):
113
for key, value in options.kwargs.items():
114
monkeypatch.setitem(app.config, key.upper(), value)
115
0 commit comments