From becb569534e9bbfb16d87ce73f8f485093337500 Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Mon, 1 Apr 2024 16:06:00 -0400 Subject: [PATCH] Fix 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 49eaf8d3..37d1f509 100644 --- a/pywb/warcserver/test/test_inputreq.py +++ b/pywb/warcserver/test/test_inputreq.py @@ -141,7 +141,7 @@ def test_post_extract_length_too_short(self): mq = MethodQueryCanonicalizer('POST', 'application/x-www-form-urlencoded', len(self.post_data) - 4, BytesIO(self.post_data)) - assert mq.append_query('http://example.com/') == 'http://example.com/?__wb_method=POST&foo=bar&dir=%2&do=true&re=false&re=' + assert mq.append_query('http://example.com/') == 'http://example.com/?__wb_method=POST&foo=bar&dir=/baz&do=true&re=false&re=' def test_post_extract_length_too_long(self): mq = MethodQueryCanonicalizer('POST', 'application/x-www-form-urlencoded',