From 971976809d4fec600b2e3c15d44f1cf013911a64 Mon Sep 17 00:00:00 2001 From: Ashutosh Chaudhary <216.ashutosh@gmail.com> Date: Tue, 11 Jun 2024 11:23:13 +0530 Subject: [PATCH 1/2] bump: parse dep closes: #672 --- poetry.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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]] From 4b803be56730c50201d1671985fdebc8e1c292ef Mon Sep 17 00:00:00 2001 From: Ashutosh Chaudhary <216.ashutosh@gmail.com> Date: Tue, 11 Jun 2024 13:36:43 +0530 Subject: [PATCH 2/2] fix: tests --- tests/unit/templating/test_templating_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):