blob: 96abad94a57bb71ac69668aa92fa305fb72809fa [file] [log] [blame]
Oleksii Zhurbaa10927b2017-09-27 22:09:23 +00001import pytest
2import cvp_checks.utils as utils
3
4
Oleksii Zhurbad0ae87f2018-03-26 13:36:25 -05005@pytest.fixture(scope='session')
Oleksii Zhurbaa10927b2017-09-27 22:09:23 +00006def local_salt_client():
7 return utils.init_salt_client()
Oleksii Zhurbad0ae87f2018-03-26 13:36:25 -05008
9nodes = utils.calculate_groups()
10
Oleksii Zhurbae592ed12018-06-21 18:01:09 -050011
Oleksii Zhurbad0ae87f2018-03-26 13:36:25 -050012@pytest.fixture(scope='session', params=nodes.values(), ids=nodes.keys())
13def nodes_in_group(request):
14 return request.param