mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Skip group collection match when groups are not used
This commit is contained in:
parent
ff5fae1663
commit
916c9db3c8
4 changed files with 19 additions and 7 deletions
|
@ -29,6 +29,7 @@ import wsgiref.util
|
|||
import xml.etree.ElementTree as ET
|
||||
from io import BytesIO
|
||||
from typing import Any, Dict, List, Optional, Tuple, Union
|
||||
from urllib.parse import quote
|
||||
|
||||
import defusedxml.ElementTree as DefusedET
|
||||
import vobject
|
||||
|
@ -167,7 +168,7 @@ class BaseTest:
|
|||
assert answer is not None
|
||||
responses = self.parse_responses(answer)
|
||||
if kwargs.get("HTTP_DEPTH", "0") == "0":
|
||||
assert len(responses) == 1 and path in responses
|
||||
assert len(responses) == 1 and quote(path) in responses
|
||||
return status, responses
|
||||
|
||||
def proppatch(self, path: str, data: Optional[str] = None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue