kopia lustrzana https://github.com/simonw/datasette
Fixed tests for urlsafe_components, refs #1650
rodzic
c85d669de3
commit
bb499942c1
|
@ -19,8 +19,8 @@ from unittest.mock import patch
|
|||
("foo", ["foo"]),
|
||||
("foo,bar", ["foo", "bar"]),
|
||||
("123,433,112", ["123", "433", "112"]),
|
||||
("123%2C433,112", ["123,433", "112"]),
|
||||
("123%2F433%2F112", ["123/433/112"]),
|
||||
("123-2C433,112", ["123,433", "112"]),
|
||||
("123-2F433-2F112", ["123/433/112"]),
|
||||
],
|
||||
)
|
||||
def test_urlsafe_components(path, expected):
|
||||
|
|
Ładowanie…
Reference in New Issue