Skip to content

Commit 4b86324

Browse files
author
Manuel Silveyra
committed
New test for configuration show
Creates a new common file for configuration tests. Change-Id: Id4c26759dfec5d508b762d0b54386f258a362971
1 parent 7ee8608 commit 4b86324

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

‎functional/tests/common/__init__.py‎

Whitespace-only changes.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
2+
# not use this file except in compliance with the License. You may obtain
3+
# a copy of the License at
4+
#
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
#
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10+
# License for the specific language governing permissions and limitations
11+
# under the License.
12+
13+
from functional.common import test
14+
15+
BASIC_CONFIG_HEADERS = ['Field', 'Value']
16+
17+
18+
class ConfigurationTests(test.TestCase):
19+
20+
def test_configuration_show(self):
21+
raw_output = self.openstack('configuration show')
22+
items = self.parse_listing(raw_output)
23+
self.assert_table_structure(items, BASIC_CONFIG_HEADERS)

0 commit comments

Comments
 (0)