mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Set htpasswd encryption type to plain in tests
This commit is contained in:
parent
78abe39002
commit
4278cc3443
1 changed files with 1 additions and 0 deletions
|
@ -770,6 +770,7 @@ class BaseRequestsMixIn:
|
||||||
"""Test if server sends authentication request."""
|
"""Test if server sends authentication request."""
|
||||||
self.configuration.set("auth", "type", "htpasswd")
|
self.configuration.set("auth", "type", "htpasswd")
|
||||||
self.configuration.set("auth", "htpasswd_filename", os.devnull)
|
self.configuration.set("auth", "htpasswd_filename", os.devnull)
|
||||||
|
self.configuration.set("auth", "htpasswd_encryption", "plain")
|
||||||
self.configuration.set("rights", "type", "owner_only")
|
self.configuration.set("rights", "type", "owner_only")
|
||||||
self.application = Application(self.configuration, self.logger)
|
self.application = Application(self.configuration, self.logger)
|
||||||
status, headers, answer = self.request("MKCOL", "/user/")
|
status, headers, answer = self.request("MKCOL", "/user/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue