diff options
author | Cedric Ollivier <ollivier.cedric@gmail.com> | 2017-01-09 08:12:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-01-09 08:12:35 +0000 |
commit | 2000f080a5a8a8a436a1858d7dedf835f352e495 (patch) | |
tree | 0bea7fc0585e7c1b48adb13141aeffcfa5ad7aed /functest/tests/unit/utils | |
parent | fec5f179377a891117c4f3f3665df47063a1e1bd (diff) | |
parent | 1406a4e103188cdb59bedfacc0d1a1ce3e15cb03 (diff) |
Merge changes from topics 'cover_parse_results', 'fix_test_show_credentials', 'remove_clean_results_dir', 'cover_argparse', 're.sub', 'mock_open', 'patch_filehandler'
* changes:
Cover ODLTests.parse_results()
Switch to assert_any_call in test_show_credentials
Remove clean_results_dir
Create ODLParser to parse sys.argv
Fully cover set_robotframework_vars
Use mock_open() to prevent stdout.txt
Patch logging.FileHandler
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 |