Skip to content

Commit 5a52e44

Browse files
committed
NRL-638 add cleanup to upsert helper
1 parent 54434db commit 5a52e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/features/steps/2_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def create_put_document_reference_step(context: Context, ods_code: str):
121121
items = {row["property"]: row["value"] for row in context.table}
122122

123123
doc_ref = create_test_document_reference(items)
124-
doc_ref_id = items.get(id)
124+
doc_ref_id = items.get("id")
125125
context.response = client.upsert(doc_ref.dict(exclude_none=True))
126126

127127
if context.response.status_code == 201:

0 commit comments

Comments
 (0)