Просмотр исходного кода

tests: enable debugging for new processes

Unrud 7 лет назад
Родитель
Сommit
93c1581e21
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      radicale/tests/test_server.py

+ 2 - 0
radicale/tests/test_server.py

@@ -58,6 +58,8 @@ class TestBaseServerRequests:
         self.configuration = config.load()
         self.configuration = config.load()
         self.colpath = tempfile.mkdtemp()
         self.colpath = tempfile.mkdtemp()
         self.configuration["storage"]["filesystem_folder"] = self.colpath
         self.configuration["storage"]["filesystem_folder"] = self.colpath
+        # Enable debugging for new processes
+        self.configuration["logging"]["level"] = "debug"
         # Disable syncing to disk for better performance
         # Disable syncing to disk for better performance
         self.configuration["internal"]["filesystem_fsync"] = "False"
         self.configuration["internal"]["filesystem_fsync"] = "False"
         self.shutdown_socket, shutdown_socket_out = socket.socketpair()
         self.shutdown_socket, shutdown_socket_out = socket.socketpair()