Skip to content

Commit 55c9fc5

Browse files
committed
Use more strict check for options
1 parent fbf735b commit 55c9fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_flask/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def test_something(app):
108108

109109
app = request.getfuncargvalue('app')
110110
options = request.keywords.get('options')
111-
if options:
111+
if options is not None:
112112
for key, value in options.kwargs.items():
113113
monkeypatch.setitem(app.config, key.upper(), value)
114114

0 commit comments

Comments
 (0)