Skip to content

Commit

Permalink
馃帹 [pre-commit.ci] Auto format from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed May 16, 2022
1 parent d460d06 commit 6552462
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_utils.py
Expand Up @@ -5,7 +5,10 @@ def test_path_param_names():
# valid paths:
assert get_path_param_names("/") == set()
assert get_path_param_names("/path/{param}") == {"param"}
assert get_path_param_names("/path1/{param1}/path2/{param2}") == {"param1", "param2"}
assert get_path_param_names("/path1/{param1}/path2/{param2}") == {
"param1",
"param2",
}
assert get_path_param_names("/path/{param:path}") == {"param"}
assert get_path_param_names("/path1:path2/{param}") == {"param"}
# invalid paths, but should tolerate them:
Expand Down

0 comments on commit 6552462

Please sign in to comment.