diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2017-04-26 19:27:00 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2017-04-28 06:39:21 -0500 |
| commit | e0d1af94a1ae37c2800da6f9c9ba2d6c65f2de8d (patch) | |
| tree | cab5ac1158507c5c5092afa4f2d94c7eab532e66 /openstackclient/tests/functional/network/v2/common.py | |
| parent | 7b609ebd55b1ff38be4763b5122b4a48a05ef931 (diff) | |
| download | python-openstackclient-e0d1af94a1ae37c2800da6f9c9ba2d6c65f2de8d.tar.gz | |
Nova net functional tests round 1
* address scope
* network agent
* network flavor
* network flavor profile
* network meter
* network meter rule
Also create a new common network functional test class
NetworkTests to house the setting of haz_network in a single place.
The individual test skipping stays in the final classes to re-enforce
the idea that some tests work with both Nova-net and Neutron.
Change-Id: Ie3910231c6fc9e2031438c599afa904f43c874a7
Diffstat (limited to 'openstackclient/tests/functional/network/v2/common.py')
| -rw-r--r-- | openstackclient/tests/functional/network/v2/common.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/openstackclient/tests/functional/network/v2/common.py b/openstackclient/tests/functional/network/v2/common.py new file mode 100644 index 00000000..bed07878 --- /dev/null +++ b/openstackclient/tests/functional/network/v2/common.py @@ -0,0 +1,22 @@ +# 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. + +from openstackclient.tests.functional import base + + +class NetworkTests(base.TestCase): + """Functional tests for Network commands""" + + @classmethod + def setUpClass(cls): + # super(NetworkTests, cls).setUp() + cls.haz_network = base.is_service_enabled('network') |
