mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
upstream CI: Fix list evaluation in IPA_ENABLED/IPA_DISABLED tests
When enabling or disabling multiple tests, a comma separated list must be used, but current code is using a colon to split the list. This patch fixes this behavior.
This commit is contained in:
@@ -66,12 +66,12 @@ def get_disabled_test(group_name, test_name):
|
||||
def get_enabled_test(group_name, test_name):
|
||||
enabled_modules = [
|
||||
enabled.strip()
|
||||
for enabled in os.environ.get("IPA_ENABLED_MODULES", "").split(":")
|
||||
for enabled in os.environ.get("IPA_ENABLED_MODULES", "").split(",")
|
||||
if enabled.strip()
|
||||
]
|
||||
enabled_tests = [
|
||||
enabled.strip()
|
||||
for enabled in os.environ.get("IPA_ENABLED_TESTS", "").split(":")
|
||||
for enabled in os.environ.get("IPA_ENABLED_TESTS", "").split(",")
|
||||
if enabled.strip()
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user