diff --git a/poetry.lock b/poetry.lock index 3242abb8..2212b4e7 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "aiohttp" @@ -1455,13 +1455,13 @@ files = [ [[package]] name = "parse" -version = "1.20.1" +version = "1.20.2" description = "parse() is the opposite of format()" optional = false python-versions = "*" files = [ - {file = "parse-1.20.1-py2.py3-none-any.whl", hash = "sha256:76ddd5214255ae711db4c512be636151fbabaa948c6f30115aecc440422ca82c"}, - {file = "parse-1.20.1.tar.gz", hash = "sha256:09002ca350ad42e76629995f71f7b518670bcf93548bdde3684fd55d2be51975"}, + {file = "parse-1.20.2-py2.py3-none-any.whl", hash = "sha256:967095588cb802add9177d0c0b6133b5ba33b1ea9007ca800e526f42a85af558"}, + {file = "parse-1.20.2.tar.gz", hash = "sha256:b41d604d16503c79d81af5165155c0b20f6c8d6c559efa66b4b695c3e5a0a0ce"}, ] [[package]] diff --git a/tests/unit/templating/test_templating_util.py b/tests/unit/templating/test_templating_util.py index b268e4f0..815f6cb0 100644 --- a/tests/unit/templating/test_templating_util.py +++ b/tests/unit/templating/test_templating_util.py @@ -29,6 +29,7 @@ def test_exact(self): [ ("/{test_id}/test", {"test_id": "test"}), ("/{test.id}/test", {"test.id": "test"}), + ("/{test-id}/test", {"test-id": "test"}), ], ) def test_chars_valid(self, path_pattern, expected): @@ -49,7 +50,6 @@ def test_chars_valid(self, path_pattern, expected): "path_pattern,expected", [ ("/{test~id}/test", {"test~id": "test"}), - ("/{test-id}/test", {"test-id": "test"}), ], ) def test_special_chars_valid(self, path_pattern, expected):