--- a/web/test/unittest_application.py Fri Jul 11 13:48:07 2014 +0200
+++ b/web/test/unittest_application.py Fri Jul 11 16:44:42 2014 +0200
@@ -19,7 +19,6 @@
import base64, Cookie
import httplib
-import tempfile
from logilab.common.testlib import TestCase, unittest_main
from logilab.common.decorators import clear_cache, classproperty
@@ -436,14 +435,6 @@
req.form['rql'] = 'rql:Any OV1, X WHERE X custom_workflow OV1?'
self.app_handle_request(req)
- def test_log_queries(self):
- logfile = tempfile.NamedTemporaryFile()
- self.config.global_set_option('query-log-file', logfile.name)
- with self.admin_access.web_request() as req:
- self.app.handle_request(req, 'view')
- self.assertTrue(logfile.read())
- logfile.close()
-
if __name__ == '__main__':
unittest_main()