mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-25 19:30:54 +00:00
add support for auth.type=denyall
This commit is contained in:
parent
eb577422f6
commit
5dd27d3c80
4 changed files with 40 additions and 1 deletions
|
@ -152,3 +152,11 @@ class TestBaseAuthRequests(BaseTest):
|
|||
"""Custom authentication."""
|
||||
self.configure({"auth": {"type": "radicale.tests.custom.auth"}})
|
||||
self.propfind("/tmp/", login="tmp:")
|
||||
|
||||
def test_none(self) -> None:
|
||||
self.configure({"auth": {"type": "none"}})
|
||||
self.propfind("/tmp/", login="tmp:")
|
||||
|
||||
def test_denyall(self) -> None:
|
||||
self.configure({"auth": {"type": "denyall"}})
|
||||
self.propfind("/tmp/", login="tmp:", check=401)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue