fuel-qa/system_test/actions/fuelmaster_actions.py
Alexey Stepanov bd567ec420 Pylint: fix false negative results
1. Disable cyclic imports scan due to false-negative result on new tests
2. Disable no-member check on methods library and factory on new tests

Change-Id: I00172fef100bc859d994131679c897402630fddf
Related-bug: #1556791
2016-03-22 16:28:56 +03:00

36 lines
1.2 KiB
Python

# Copyright 2015-2016 Mirantis, 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.
from system_test import action
from system_test import deferred_decorator
from system_test import logger
from system_test.helpers.decorators import make_snapshot_if_step_fail
# pylint: disable=no-member
class FuelMasterActions(object):
"""Actions specific only to Fuel Master node
check_containers - check that docker containers are up
and running
"""
@deferred_decorator([make_snapshot_if_step_fail])
@action
def check_containers(self):
"""Check that containers are up and running"""
logger.info("Check containers")
self.env.docker_actions.wait_for_ready_containers(timeout=60 * 30)