Commit 10d14bda authored by Jérome Perrin's avatar Jérome Perrin

tests/promise: do not reconfigure logger

it's now configured in tests/__init__.py
parent 65f78295
...@@ -116,7 +116,6 @@ class TestSlapOSPromiseMixin(unittest.TestCase): ...@@ -116,7 +116,6 @@ class TestSlapOSPromiseMixin(unittest.TestCase):
def createPromiseProcess(self, promise_name, check_anomaly=False, wrap=False): def createPromiseProcess(self, promise_name, check_anomaly=False, wrap=False):
logging.basicConfig()
promise_path = os.path.join(self.plugin_dir, promise_name) promise_path = os.path.join(self.plugin_dir, promise_name)
return PromiseProcess( return PromiseProcess(
self.partition_dir, self.partition_dir,
...@@ -1091,8 +1090,6 @@ class TestSlapOSGenericPromise(TestSlapOSPromiseMixin): ...@@ -1091,8 +1090,6 @@ class TestSlapOSGenericPromise(TestSlapOSPromiseMixin):
} }
def createPromiseProcess(self, check_anomaly=False, wrap=False): def createPromiseProcess(self, check_anomaly=False, wrap=False):
logging.basicConfig()
return PromiseProcess( return PromiseProcess(
self.partition_dir, self.partition_dir,
self.promise_name, self.promise_name,
......
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