diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-07-27 15:19:03 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-07-27 15:19:03 +0000 |
| commit | 590dc3ed01df7a31b00416bcc3e6916089626c80 (patch) | |
| tree | 64e2f3da35beaffcde9db115ff14d96eb220a1ac /openstackclient/tests/functional/object/v1/common.py | |
| parent | d010c00a1528478ca03d030ca821e74b572cb9d4 (diff) | |
| parent | 022fdb10ebf5e539fb4d84550d00943d55e5f746 (diff) | |
| download | python-openstackclient-590dc3ed01df7a31b00416bcc3e6916089626c80.tar.gz | |
Merge "Skip object-store functional tests when Swift is not available"
Diffstat (limited to 'openstackclient/tests/functional/object/v1/common.py')
| -rw-r--r-- | openstackclient/tests/functional/object/v1/common.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/openstackclient/tests/functional/object/v1/common.py b/openstackclient/tests/functional/object/v1/common.py new file mode 100644 index 00000000..44771aaa --- /dev/null +++ b/openstackclient/tests/functional/object/v1/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 ObjectStoreTests(base.TestCase): + """Functional tests for Object Store commands""" + + @classmethod + def setUpClass(cls): + super(ObjectStoreTests, cls).setUpClass() + cls.haz_object_store = base.is_service_enabled('object-store') |
