From 1aee423120bf3b9e7a70febbd5f7e6b516b37415 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Mon, 18 Nov 2024 21:00:14 +0100 Subject: [PATCH] fixes --- test/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/main.py b/test/main.py index 2384570..c564208 100644 --- a/test/main.py +++ b/test/main.py @@ -111,7 +111,7 @@ def test_auth_v1_origin_malformed_json(): import json # see oscar.krause/fastapi-dls#1 - payload = """{ + payload = f"""{ "registration_pending": "false", "environment": { "guest_driver_version": "guest_driver_version", @@ -123,7 +123,7 @@ def test_auth_v1_origin_malformed_json(): "host_driver_version": "host_driver_version" }, "update_pending": "false", - "candidate_origin_ref": {ORIGIN_REF}, + "candidate_origin_ref": "{ORIGIN_REF}" }""" # test regex (temporary, until this section is merged into main.py