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 ed1962d commit 31318ffCopy full SHA for 31318ff
testkitbackend/fromtestkit.py
@@ -210,9 +210,10 @@ def to_auth_token(data, key):
210
auth_token["credentials"],
211
auth_token["realm"],
212
auth_token["scheme"],
213
- **auth_token.get("parameters", {}),
+ **auth_token.get("parameters") or {},
214
)
215
- auth_token.mark_item_as_read("parameters", recursive=True)
+ if "parameters" in auth_token:
216
+ auth_token.mark_item_as_read("parameters", recursive=True)
217
return auth
218
219
0 commit comments