Skip to content

Commit 18ba16b

Browse files
committed
tests: Remove image v1 functional tests
Nothing was setting haz_v1_api which means it was not possible for these to run. Even if it had been, getting a cloud with the v1 image API up and running is no easy feat nowadays. Change-Id: Ic2ba82aedae4dbcae6313150335ee1c7412ce7b3 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
1 parent 2c01f52 commit 18ba16b

3 files changed

Lines changed: 1 addition & 109 deletions

File tree

openstackclient/tests/functional/image/base.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,10 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
from typing import ClassVar
14-
1513
from openstackclient.tests.functional import base
1614

1715

1816
class BaseImageTests(base.TestCase):
1917
"""Functional tests for Image commands"""
2018

21-
# TODO(stephenfin): Nothing sets this to true any more. We should remove it
22-
# along with any dependent tests.
23-
haz_v1_api: ClassVar[bool]
24-
25-
@classmethod
26-
def setUpClass(cls):
27-
super().setUpClass()
28-
# TODO(dtroyer): maybe do image API discovery here to determine
29-
# what is available, it isn't in the service catalog
30-
cls.haz_v1_api = False
19+
...

openstackclient/tests/functional/image/v1/__init__.py

Whitespace-only changes.

openstackclient/tests/functional/image/v1/test_image.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)