[pitivi] tests: Initialize the logs also when running nosetests3
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] tests: Initialize the logs also when running nosetests3
- Date: Tue, 6 May 2014 13:02:27 +0000 (UTC)
commit 5a970c965fb258e4281ecaad77328d6659fb0508
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Fri Apr 11 10:54:59 2014 +0200
tests: Initialize the logs also when running nosetests3
tests/runtests.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/runtests.py b/tests/runtests.py
index 68178ae..4d6fd95 100644
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -58,6 +58,9 @@ def setup():
from pitivi.check import initialize_modules
initialize_modules()
+ from pitivi.utils import loggable as log
+ log.init('PITIVI_DEBUG')
+
try:
import mock
except ImportError:
@@ -74,8 +77,6 @@ if __name__ == "__main__":
if 'VERBOSE' in os.environ:
descriptions = 2
verbosity = 2
- from pitivi.utils import loggable as log
- log.init('PITIVI_DEBUG')
suite = _tests_suite()
if not list(suite):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]