diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-01-03 08:30:51 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-01-04 15:35:06 +0100 |
commit | 6d361c6804b85b870add58b5b4a6c7df8e9476d4 (patch) | |
tree | cdc995501542028ce406aaabb23560098d26d43f /functest/tests/unit/utils | |
parent | 563c3e610f184d311f8a4f45cbee51f532f73e49 (diff) |
Patch logging.FileHandler
It avoids creating a dummy functest.log for unit testing.
Change-Id: Ib163d5d58284822b1904444fb60b08e92ee0ab9b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/tests/unit/utils')
-rw-r--r-- | functest/tests/unit/utils/test_functest_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/tests/unit/utils/test_functest_utils.py b/functest/tests/unit/utils/test_functest_utils.py index ce9086a7..c4b56660 100644 --- a/functest/tests/unit/utils/test_functest_utils.py +++ b/functest/tests/unit/utils/test_functest_utils.py @@ -18,6 +18,7 @@ import mock import requests from functest.tests.unit import test_utils +mock.patch('logging.FileHandler').start() # noqa from functest.utils import functest_utils |