Commit fb08eb82 authored by Vincent Pelletier's avatar Vincent Pelletier

Deconfigure logger in tearDown.

This prevents lines from next setUp from showing up in test's log.
This is not so nice to have to call it here, but it is probably an
artificial-enough use case to justify this.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2396 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6ed4dcc8
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
import unittest import unittest
from neo.tests.functional import NEOCluster, NEOFunctionalTest from neo.tests.functional import NEOCluster, NEOFunctionalTest
import neo
class ZODBTestCase(NEOFunctionalTest): class ZODBTestCase(NEOFunctionalTest):
...@@ -31,6 +32,8 @@ class ZODBTestCase(NEOFunctionalTest): ...@@ -31,6 +32,8 @@ class ZODBTestCase(NEOFunctionalTest):
def tearDown(self): def tearDown(self):
self._storage.cleanup() self._storage.cleanup()
self.neo.stop() self.neo.stop()
# Deconfigure client logger
neo.setupLog('CLIENT')
NEOFunctionalTest.tearDown(self) NEOFunctionalTest.tearDown(self)
def open(self, read_only=False): def open(self, read_only=False):
......
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