Files
test/automated-pytest-suite/testcases/functional/dc/conftest.py
Yvonne Ding 92ee9a56ec Added distributed cloud test suites to StarlingX
- test_alarm_aggregation
- test_dc_swact_host
- test_https_unshared
- test_shared_config_dns

Change-Id: I9c0528523c7321d34c60ddccebe31cb0143cc982
Signed-off-by: Yvonne Ding <yvonne.ding@windriver.com>
2020-11-17 10:06:07 -05:00

19 lines
425 B
Python

#
# Copyright (c) 2020 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from pytest import fixture, skip
from consts.proj_vars import ProjVar
# Import DC fixtures for testcases to use
from testfixtures.dc_fixtures import check_central_alarms
@fixture(scope='module', autouse=True)
def dc_only():
if not ProjVar.get_var('IS_DC'):
skip('Skip Distributed Cloud test cases for non-DC system.')