diff options
author | Vincenzo Riccobene <vincenzox.m.riccobene@intel.com> | 2015-12-23 15:14:52 +0000 |
---|---|---|
committer | Vincenzo Riccobene <vincenzox.m.riccobene@intel.com> | 2015-12-23 15:46:29 +0000 |
commit | 20ff6c8a9b3b073beea7651626f63b4283147d6f (patch) | |
tree | 1e96414e68656d12dd821121af382eaeb5b381b1 /yardstick/vTC/apexlake/tests/conf_file_sections_test.py | |
parent | 70b7c1865adcb69aff6e8aac0c9c796dba4e04b4 (diff) |
Add some other tests to ApexLake
Include some other tests to reach the required coverage
JIRA: YARDSTICK-35
Change-Id: Ie47b0ca9451d4dcc0f5e31ba98f8c38923689475
Signed-off-by: Vincenzo Riccobene <vincenzox.m.riccobene@intel.com>
Diffstat (limited to 'yardstick/vTC/apexlake/tests/conf_file_sections_test.py')
-rw-r--r-- | yardstick/vTC/apexlake/tests/conf_file_sections_test.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/yardstick/vTC/apexlake/tests/conf_file_sections_test.py b/yardstick/vTC/apexlake/tests/conf_file_sections_test.py new file mode 100644 index 000000000..d2157fcce --- /dev/null +++ b/yardstick/vTC/apexlake/tests/conf_file_sections_test.py @@ -0,0 +1,30 @@ +# Copyright (c) 2015 Intel Research and Development Ireland Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +__author__ = 'vmriccox' + + +import unittest +from experimental_framework.constants import conf_file_sections as cfs + + +class TestConfFileSection(unittest.TestCase): + + def setUp(self): + pass + + def test_get_sections_api_for_success(self): + expected = ['PacketGen', 'General', 'InfluxDB'] + output = cfs.get_sections_api() + self.assertEqual(expected, output) |