validations-libs/validations_libs/tests
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
..
__init__.py Add utils functions and validations List object 2020-03-03 16:55:20 +01:00
fakes.py Show history by play and add get status action 2020-07-06 15:10:37 +00:00
test_ansible.py Add asynchronous option to validation libs 2020-05-05 16:24:34 +02:00
test_group.py Ensure we get a sorted list for validation groups 2020-04-08 11:09:04 +02:00
test_utils.py Add better conversion of string parameters into a list 2020-11-04 14:05:11 +01:00
test_validation.py Add unit tests coverage for validation, group and logs classes 2020-04-02 09:41:30 +00:00
test_validation_actions.py Don't rely on parameter file extension for downloading 2020-11-04 09:48:08 +01:00
test_validation_log.py Show history by play and add get status action 2020-07-06 15:10:37 +00:00
test_validation_logs.py Filter get_all_log_file by extension 2020-06-12 09:19:41 +02:00