diff --git a/tests/test_redirect_parser.py b/tests/test_redirect_parser.py index 639272e..97e701a 100644 --- a/tests/test_redirect_parser.py +++ b/tests/test_redirect_parser.py @@ -14,6 +14,9 @@ def test__parse_redirects(self, tmpdir): "ignore_list": "Client/Options/Ignore_list" "ignore": "Client/Options/Ignore_list" + unquoted_key1: unquoted/value1 + "quoted_key": unquoted/value2 + unquoted_key2: "quoted/value" ''').strip()) redirects = redirect_parser.load_redirects(str(path)) @@ -22,4 +25,7 @@ def test__parse_redirects(self, tmpdir): 'asc/images': ('Article_Styling_Criteria#images', 4), 'ignore_list': ('Client/Options/Ignore_list', 6), 'ignore': ('Client/Options/Ignore_list', 7), + 'unquoted_key1': ('unquoted/value1', 8), + 'quoted_key': ('unquoted/value2', 9), + 'unquoted_key2': ('quoted/value', 10), }