Skip to content

Commit

Permalink
add missing test for auth/lc_username
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Jul 18, 2024
1 parent 7fd7ec7 commit f117fd0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions radicale/tests/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ def test_htpasswd_whitespace_password(self) -> None:
def test_htpasswd_comment(self) -> None:
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:
self.configure({"auth": {"type": "remote_user"}})
_, responses = self.propfind("/", """\
Expand Down

0 comments on commit f117fd0

Please sign in to comment.