Commit 78c4ce1b authored by Boris Kocherov's avatar Boris Kocherov

add disabled logger for tests

parent 0ec77252
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
import unittest import unittest
import sys import sys
from cloudooo import util
from os import environ, path, mkdir, putenv from os import environ, path, mkdir, putenv
from ConfigParser import ConfigParser from ConfigParser import ConfigParser
from cloudooo.handler.ooo.application.openoffice import openoffice from cloudooo.handler.ooo.application.openoffice import openoffice
...@@ -60,6 +61,8 @@ def startFakeEnvironment(start_openoffice=True, conf_path=None): ...@@ -60,6 +61,8 @@ def startFakeEnvironment(start_openoffice=True, conf_path=None):
hostname = config.get("server:main", "host") hostname = config.get("server:main", "host")
openoffice_port = int(config.get("app:main", "openoffice_port")) + 1 openoffice_port = int(config.get("app:main", "openoffice_port")) + 1
office_binary_path = config.get("app:main", "office_binary_path") office_binary_path = config.get("app:main", "office_binary_path")
if 0:
util.configureLogger(debug_mode=True)
environment_dict = {} environment_dict = {}
for item in config.options("app:main"): for item in config.options("app:main"):
if item.startswith("env-"): if item.startswith("env-"):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment