Преглед изворни кода

Set htpasswd encryption type to plain in tests

Guillaume Ayoub пре 9 година
родитељ
комит
4278cc3443
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      radicale/tests/test_base.py

+ 1 - 0
radicale/tests/test_base.py

@@ -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/")