blob: 215aeb59839f98a9badf7d3d885aad503f92ffc4 [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
18import base_test
19from tcp_tests import settings
20from tcp_tests.helpers import ext
21
22
23@pytest.mark.deploy
24class TestTCPInstaller(object):
25 """Test class for testing TCP deployment"""
26
27 @pytest.mark.snapshot_needed
28 @pytest.mark.revert_snapshot(ext.SNAPSHOT.underlay)
29 @pytest.mark.fail_snapshot
30 def test_tcp_install_default(self, underlay, tcp_actions, show_step):
31 """Test for deploying an tcp environment and check it
32
33 Preconditions:
34 1. Environment with installed salt master and salt minions
35 2. Installed TCP salt formulas on salt master
36
37 Scenario:
38 1. Show TCP config
39 """
40
41 show_step(1)
42 tcp_actions.show_tcp_config()