diff options
author | 2017-05-05 13:01:20 +0200 | |
---|---|---|
committer | 2017-05-05 13:01:20 +0200 | |
commit | a91b49fca69922d2401ba2a55fa867a5385b56cc (patch) | |
tree | f038a759e08c28cf7c8331b3d57448103ff41b81 /functest/tests/unit/core/test_feature.py | |
parent | 695b3013de3a5f80a3a0a55cddbb1d525a6a6b87 (diff) |
Replace project_name by case_name in result file name
It avoids erasing functest.log when project_name = functest.
Change-Id: Icae898abb8b51c89b79bb1124adfadab8b0b3b99
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/tests/unit/core/test_feature.py')
-rw-r--r-- | functest/tests/unit/core/test_feature.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/tests/unit/core/test_feature.py b/functest/tests/unit/core/test_feature.py index 993da5a0..8de42ec5 100644 --- a/functest/tests/unit/core/test_feature.py +++ b/functest/tests/unit/core/test_feature.py @@ -28,7 +28,7 @@ class FeatureTestingBase(unittest.TestCase): _project_name = "bar" _repo = "dir_repo_copper" _cmd = "cd /home/opnfv/repos/foo/tests && bash run.sh && cd -" - _output_file = '/home/opnfv/functest/results/bar.log' + _output_file = '/home/opnfv/functest/results/foo.log' feature = None @mock.patch('time.time', side_effect=[1, 2]) |