summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-12-03 10:29:55 +0200
committerGuido Günther <agx@sigxcpu.org>2013-03-27 21:34:20 +0100
commit64ed77c4afdaeae8a91a4ade068a4b8f9b50544b (patch)
tree51f701c094d361abb40bb78fbe6468f53a3c2576
parentdafb5a3c2c5596c3ef0b3ad21644b6b6d16d0aaa (diff)
tests.test_GitRepository: import and setup gbp.log
In order to initialize gbp logging properly. Fixes false positives when the GitRepository tests are run alone. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--tests/test_GitRepository.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index 5029630f..e7dde0dc 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -12,6 +12,10 @@ This testcase creates several repositores:
"""
import os
+import gbp.log
+
+gbp.log.setup(color=False, verbose=True)
+
repo_dir = os.path.abspath(
os.path.join(os.path.curdir, 'gbp_%s_test_repo' % __name__))
bare_dir = os.path.abspath(