blob: 9804a4eb3299ec1527b22e48a157eb6bbcfbafee [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
Dennis Dmitriev75fce1b2016-10-18 15:04:28 +030026 # @pytest.mark.snapshot_needed
Dennis Dmitriev6f59add2016-10-18 13:45:27 +030027 @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
Dennis Dmitriev6f59add2016-10-18 13:45:27 +030032 Scenario:
33 1. Show TCP config
Dennis Dmitriev6f59add2016-10-18 13:45:27 +030034
Dennis Dmitriev75fce1b2016-10-18 15:04:28 +030035 """
Dennis Dmitriev6f59add2016-10-18 13:45:27 +030036 show_step(1)
37 tcp_actions.show_tcp_config()