validations-libs/validations_libs
Gael Chamoulaud (Strider) 63e30c744c
Add better conversion of string parameters into a list
The current conversion works pretty well when passing a simple string
of validation or group names. But don't work when passing multiple
validation or group name.

```
>>> groups = "check-cpu"
>>> groups = [groups]
>>> print(groups)
['check-cpu']

>>> groups = "check-cpu,check-ram"
>>> groups = [groups]
>>> print(groups)
['check-cpu,check-ram']
```

This patch brings a better conversion when multiple validations or
groups are sent through a string.

Change-Id: Iba023a704dd873ea2df75c8cc6d78f929ef45bc2
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
2020-11-04 14:05:11 +01:00
..
tests Add better conversion of string parameters into a list 2020-11-04 14:05:11 +01:00
__init__.py Init python project structure 2020-02-28 11:20:15 +01:00
ansible.py Allow to set python interper for ansible execution 2020-09-03 11:08:01 +02:00
constants.py Update validation path with the share/ansible one 2020-08-25 10:33:02 +02:00
group.py Ensure we get a sorted list for validation groups 2020-04-08 11:09:04 +02:00
utils.py Add better conversion of string parameters into a list 2020-11-04 14:05:11 +01:00
validation.py Add unit tests coverage for validation, group and logs classes 2020-04-02 09:41:30 +00:00
validation_actions.py Add better conversion of string parameters into a list 2020-11-04 14:05:11 +01:00
validation_logs.py Show history by play and add get status action 2020-07-06 15:10:37 +00:00