summaryrefslogtreecommitdiff
path: root/tests/ecore/test_08_exe.py
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2016-08-03 14:47:42 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2016-08-03 14:47:42 +0300
commit0916eae9ff7833ee7b88dda95873836fd9b7575c (patch)
treeb03908192277e81d065b880d80c39182a3da08c8 /tests/ecore/test_08_exe.py
parentd6bad7a8389e33b8e3cf1a98e8155cffbaca5989 (diff)
Add logging to the rest of the individual unit tests
Diffstat (limited to 'tests/ecore/test_08_exe.py')
-rw-r--r--tests/ecore/test_08_exe.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ecore/test_08_exe.py b/tests/ecore/test_08_exe.py
index bde2571..b5a8635 100644
--- a/tests/ecore/test_08_exe.py
+++ b/tests/ecore/test_08_exe.py
@@ -2,6 +2,7 @@
2 2
3from efl import ecore 3from efl import ecore
4import unittest 4import unittest
5import logging
5 6
6 7
7class TestExe(unittest.TestCase): 8class TestExe(unittest.TestCase):
@@ -83,4 +84,10 @@ class TestExe(unittest.TestCase):
83 84
84 85
85if __name__ == '__main__': 86if __name__ == '__main__':
87 formatter = logging.Formatter("[%(levelname)s] %(name)s (%(filename)s: %(lineno)d) --- %(message)s")
88 handler = logging.StreamHandler()
89 handler.setFormatter(formatter)
90 efllog = logging.getLogger("efl")
91 efllog.addHandler(handler)
92 efllog.setLevel(logging.DEBUG)
86 unittest.main(verbosity=2) 93 unittest.main(verbosity=2)