[Kimchi-devel] [PATCH] [Wok 4/4] Fix tests

Lucio Correia luciojhc at linux.vnet.ibm.com
Tue Feb 23 20:43:06 UTC 2016


Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
---
 src/wok/model/logs.py | 2 --
 tests/utils.py        | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/wok/model/logs.py b/src/wok/model/logs.py
index 09d3f47..89a79ab 100644
--- a/src/wok/model/logs.py
+++ b/src/wok/model/logs.py
@@ -17,8 +17,6 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
 
-import cherrypy
-
 from wok.reqlogger import RequestParser
 
 
diff --git a/tests/utils.py b/tests/utils.py
index d158ba1..249205d 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -119,6 +119,7 @@ def run_server(host, port, ssl_port, test_mode, cherrypy_port=None,
                  'websockets_port': 64667, 'ssl_cert': '', 'ssl_key': '',
                  'max_body_size': '4*1024', 'test': test_mode,
                  'access_log': '/dev/null', 'error_log': '/dev/null',
+                 'req_log': '/dev/null',
                  'environment': environment, 'log_level': 'debug'})()
     if model is not None:
         setattr(args, 'model', model)
-- 
1.9.1




More information about the Kimchi-devel mailing list