diff options
author | xudan <xudan16@huawei.com> | 2018-12-11 01:41:15 -0500 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2018-12-11 02:03:31 -0500 |
commit | 13e644d0ba893ddc5e2944c2e827fde7cd58ae72 (patch) | |
tree | cb4bc6a43179593a7ec7a1dfc3b3e5c7cfcc9ea6 /dovetail/tests/unit/test_testcase.py | |
parent | bdbd7d405ac8603deed456e038cd13b0fde02b62 (diff) |
Enable ShellRunner
1. fix the bug 'ShellRunner' object has no attribute 'archive_logs'
2. remove the testarea_supported because it's not very necessary for the test
cases themselves and can make it a little more simple to add a test case
with new test area
JIRA: DOVETAIL-750
Change-Id: I71ee74615200376adca2a0db040753e5fce329bc
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/tests/unit/test_testcase.py')
-rw-r--r-- | dovetail/tests/unit/test_testcase.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/dovetail/tests/unit/test_testcase.py b/dovetail/tests/unit/test_testcase.py index 0d303206..e2b0b744 100644 --- a/dovetail/tests/unit/test_testcase.py +++ b/dovetail/tests/unit/test_testcase.py @@ -411,20 +411,12 @@ class TestcaseTesting(unittest.TestCase): tcase.Testcase.check_testarea(None)) @patch('dovetail.testcase.dt_cfg') - def test_check_testarea_not_in_config(self, mock_config): - mock_config.dovetail_config = {'testarea_supported': []} - self.assertEquals((False, None), - tcase.Testcase.check_testarea(['area'])) - - @patch('dovetail.testcase.dt_cfg') def test_check_testarea_full(self, mock_config): - mock_config.dovetail_config = {'testarea_supported': ['full']} self.assertEquals((True, ['full']), tcase.Testcase.check_testarea(['full'])) @patch('dovetail.testcase.dt_cfg') def test_check_testarea(self, mock_config): - mock_config.dovetail_config = {'testarea_supported': ['area']} self.assertEquals((True, ['area']), tcase.Testcase.check_testarea(['area'])) |