mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
fix: python3.11 now supports Possessive Quantifiers regex
This commit is contained in:
parent
f617287eb2
commit
691ce5eace
1 changed files with 0 additions and 4 deletions
|
@ -202,10 +202,6 @@ def test_normalize_permission_path_with_bad_regex():
|
|||
)
|
||||
|
||||
# Full Regex
|
||||
with pytest.raises(YunohostError):
|
||||
_validate_and_sanitize_permission_url(
|
||||
"re:" + maindomain + "/yolo?+/", maindomain + "/path", "test_permission"
|
||||
)
|
||||
with pytest.raises(YunohostError):
|
||||
_validate_and_sanitize_permission_url(
|
||||
"re:" + maindomain + "/yolo[1-9]**/",
|
||||
|
|
Loading…
Add table
Reference in a new issue