From 1ef247ec2f1dab9fc8bb902c885b24d5ee44d55c Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Mon, 1 Apr 2024 16:13:02 -0400 Subject: [PATCH] Fix URL for more complicated test --- pywb/warcserver/test/test_inputreq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywb/warcserver/test/test_inputreq.py b/pywb/warcserver/test/test_inputreq.py index 37d1f509..842ae776 100644 --- a/pywb/warcserver/test/test_inputreq.py +++ b/pywb/warcserver/test/test_inputreq.py @@ -104,7 +104,7 @@ def test_post_extract_json(self): mq = MethodQueryCanonicalizer('POST', 'application/json', len(post_data), BytesIO(post_data)) - assert mq.append_query('http://example.com/') == 'http://example.org/events?__wb_method=POST&type=event&id=44.0&values=true&values.2_=false&values.3_=null&type.2_=component&id.2_=a%2Bb%26c%3D+d&values.4_=3&values.5_=4' + assert mq.append_query('http://example.com/events') == 'http://example.org/events?__wb_method=POST&type=event&id=44.0&values=true&values.2_=false&values.3_=null&type.2_=component&id.2_=a%2Bb%26c%3D+d&values.4_=3&values.5_=4' def test_put_extract_method(self): mq = MethodQueryCanonicalizer('PUT', 'application/x-www-form-urlencoded',