mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
add missing test for auth/lc_username
This commit is contained in:
parent
7fd7ec7f7a
commit
f117fd06af
1 changed files with 5 additions and 0 deletions
|
@ -115,6 +115,11 @@ class TestBaseAuthRequests(BaseTest):
|
||||||
def test_htpasswd_comment(self) -> None:
|
def test_htpasswd_comment(self) -> None:
|
||||||
self._test_htpasswd("plain", "#comment\n #comment\n \ntmp:bepo\n\n")
|
self._test_htpasswd("plain", "#comment\n #comment\n \ntmp:bepo\n\n")
|
||||||
|
|
||||||
|
def test_htpasswd_lc_username(self) -> None:
|
||||||
|
self.configure({"auth": {"lc_username": "True"}})
|
||||||
|
self._test_htpasswd("plain", "tmp:bepo", (
|
||||||
|
("tmp", "bepo", True), ("TMP", "bepo", True), ("tmp1", "bepo", False)))
|
||||||
|
|
||||||
def test_remote_user(self) -> None:
|
def test_remote_user(self) -> None:
|
||||||
self.configure({"auth": {"type": "remote_user"}})
|
self.configure({"auth": {"type": "remote_user"}})
|
||||||
_, responses = self.propfind("/", """\
|
_, responses = self.propfind("/", """\
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue