okozachenko 6b47b65fa5 Add test cases for service, secret, ingress, and configmap
Change-Id: Iea98e3f36e49a4538ad1d0d000aebef56c1b4c01
2020-06-03 02:30:43 +03:00

35 lines
1.0 KiB
Python

# Copyright 2020 VEXXHOST, Inc.
#
# 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.
"""Tests for Heat Operator
This module contains all the tests for the Heat operator.
"""
from openstack_operator.tests.unit import base
class HeatAPIDeploymentTestCase(base.DeploymentTestCase):
"""Basic tests for the Deployment."""
RELEASE_TYPE = 'heat'
TEMPLATE_FILE = 'heat/deployment.yml.j2'
class HeatAPServiceTestCase(base.ServiceTestCase):
"""Basic tests for the Service."""
RELEASE_TYPE = 'heat'
TEMPLATE_FILE = 'heat/service.yml.j2'