blob: 1af0c623364ea266a6eb7b48e69e3bd7dcbe596d [file] [log] [blame]
Dennis Dmitriev6f59add2016-10-18 13:45:27 +03001# Copyright 2016 Mirantis, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14import copy
15
16import pytest
17
Dennis Dmitriev6f59add2016-10-18 13:45:27 +030018from tcp_tests import settings
19from tcp_tests.helpers import ext
20
21
22@pytest.mark.deploy
23class TestTCPInstaller(object):
24 """Test class for testing TCP deployment"""
25
26 @pytest.mark.snapshot_needed
27 @pytest.mark.revert_snapshot(ext.SNAPSHOT.underlay)
28 @pytest.mark.fail_snapshot
29 def test_tcp_install_default(self, underlay, tcp_actions, show_step):
30 """Test for deploying an tcp environment and check it
31
32 Preconditions:
33 1. Environment with installed salt master and salt minions
34 2. Installed TCP salt formulas on salt master
35
36 Scenario:
37 1. Show TCP config
38 """
39
40 show_step(1)
41 tcp_actions.show_tcp_config()