Code Review
/
functest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Re-Enable Promise testcases"
[functest.git]
/
functest
/
tests
/
unit
/
energy
/
test_functest_energy.py
diff --git
a/functest/tests/unit/energy/test_functest_energy.py
b/functest/tests/unit/energy/test_functest_energy.py
index
ffe044b
..
6387b97
100644
(file)
--- a/
functest/tests/unit/energy/test_functest_energy.py
+++ b/
functest/tests/unit/energy/test_functest_energy.py
@@
-19,8
+19,6
@@
import functest.energy.energy as energy
CASE_NAME = "UNIT_test_CASE"
STEP_NAME = "UNIT_test_STEP"
CASE_NAME = "UNIT_test_CASE"
STEP_NAME = "UNIT_test_STEP"
-logging.disable(logging.CRITICAL)
-
class MockHttpResponse(object): # pylint: disable=too-few-public-methods
"""Mock response for Energy recorder API."""
class MockHttpResponse(object): # pylint: disable=too-few-public-methods
"""Mock response for Energy recorder API."""
@@
-274,4
+272,5
@@
class EnergyRecorderTest(unittest.TestCase):
if __name__ == "__main__":
if __name__ == "__main__":
+ logging.disable(logging.CRITICAL)
unittest.main(verbosity=2)
unittest.main(verbosity=2)