Big change in config and skip mechanism
diff --git a/cvp_checks/tests/test_services.py b/cvp_checks/tests/test_services.py
index 3d90218..7f04578 100644
--- a/cvp_checks/tests/test_services.py
+++ b/cvp_checks/tests/test_services.py
@@ -1,15 +1,16 @@
import pytest
import json
+import os
from cvp_checks import utils
@pytest.mark.parametrize(
"group",
- utils.get_groups(utils.get_configuration(__file__))
+ utils.get_groups(os.path.basename(__file__))
)
def test_check_services(local_salt_client, group):
- config = utils.get_configuration(__file__)
-
+ if "skipped" in group:
+ pytest.skip("skipped in config")
output = local_salt_client.cmd(group, 'service.get_all', expr_form='pcre')
if len(output.keys()) < 2: