summaryrefslogtreecommitdiffstats
path: root/tests/_bootstrap.py
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-09-15 22:00:46 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-09-17 22:44:25 +0200
commit80f6bde6a6833a1aeafc9746c0273af736aa9b47 (patch)
tree998e48cadee079da480543d5d7c5e4fa64d18cf4 /tests/_bootstrap.py
parenta206b4d8c11125351b9fae695d1859a43a356f60 (diff)
downloadclufter-80f6bde6a6833a1aeafc9746c0273af736aa9b47.tar.gz
clufter-80f6bde6a6833a1aeafc9746c0273af736aa9b47.tar.xz
clufter-80f6bde6a6833a1aeafc9746c0273af736aa9b47.zip
tests/_bootstrap: fix a thinko preventing debug outputs
... these are expected by default if LOGLEVEL not specified Also, instruct .travis.yml for this level of verbosity. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'tests/_bootstrap.py')
-rw-r--r--tests/_bootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/_bootstrap.py b/tests/_bootstrap.py
index 91d490f..67cd99a 100644
--- a/tests/_bootstrap.py
+++ b/tests/_bootstrap.py
@@ -16,7 +16,7 @@ if __name__ != 'main_bootstrap':
from os import environ
import logging
logging.basicConfig()
- logging.getLogger().setLevel(environ.get('LOGLEVEL', logging.DEBUG))
+ logging.getLogger().setLevel(environ.get('LOGLEVEL') or logging.DEBUG)
# inject PYTHONPATH we are to use
root = reduce(lambda x, y: dirname(x), xrange(2), abspath(__file__))