
To give more flexibility for tempest test coverage, use the tempest plugin interface to add tempest tests to the Cinder repo. Just the plumbing for now. A temporary tempest test was added just for validation. This test should be removed once additional tests are added. Third party CIs should change their command line from: tox -e all -- volume To something like: tox -e all-plugin -- volume Change-Id: I679b1cee6dc9187fd2b11c47a14be9f7acdad938 Implements: blueprint add-intree-tempest-tests
29 lines
1007 B
Python
29 lines
1007 B
Python
# Copyright 2015
|
|
# All Rights Reserved.
|
|
#
|
|
# 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 tempest import config
|
|
from tempest.tests import base
|
|
|
|
CONF = config.CONF
|
|
|
|
|
|
class CinderPlaceholderTest(base.TestCase):
|
|
"""Placeholder test for adding in-tree Cinder tempest tests."""
|
|
# TODO(smcginnis) Remove once real tests are added
|
|
|
|
def test_placeholder(self):
|
|
expected = 'This test is temporary and should be removed!'
|
|
self.assertEqual(expected, expected)
|