Skip to content

Commit

Permalink
Update urlquote() tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
doerwalter committed Oct 18, 2021
1 parent 0002519 commit 67b071a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_ul4.py
Original file line number Diff line number Diff line change
Expand Up @@ -3928,7 +3928,7 @@ def test_function_slice(T):
@pytest.mark.ul4
def test_function_urlquote(T):
assert "gurk" == T("<?print urlquote('gurk')?>").renders()
assert "%3C%3D%3E%2B%3F" == T("<?print urlquote('<=>+?')?>").renders()
assert "%3C%3D%3E%20%2B%20%3F" == T("<?print urlquote('<=> + ?')?>").renders()
assert "%7F%C3%BF%EF%BF%BF" == T("<?print urlquote('\u007f\u00ff\uffff')?>").renders()

# Make sure that the parameters have the same name in all implementations
Expand All @@ -3938,7 +3938,7 @@ def test_function_urlquote(T):
@pytest.mark.ul4
def test_function_urlunquote(T):
assert "gurk" == T("<?print urlunquote('gurk')?>").renders()
assert "<=>+?" == T("<?print urlunquote('%3C%3D%3E%2B%3F')?>").renders()
assert "<=> + ?" == T("<?print urlunquote('%3C%3D%3E%20%2B%20%3F')?>").renders()
assert "\u007f\u00ff\uffff" == T("<?print urlunquote('%7F%C3%BF%EF%BF%BF')?>").renders()

# Make sure that the parameters have the same name in all implementations
Expand Down

0 comments on commit 67b071a

Please sign in to comment.