mirror of
https://github.com/containers/podman-compose.git
synced 2025-01-21 05:18:48 +01:00
9011e9faa1
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
11 lines
295 B
Python
11 lines
295 B
Python
from podman_compose import is_list_of_str
|
|
|
|
|
|
def test_is_list_of_str():
|
|
assert is_list_of_str(["foo", "bar"])
|
|
assert not is_list_of_str(["foo", 1])
|
|
assert not is_list_of_str("foo")
|
|
assert not is_list_of_str([])
|
|
assert not is_list_of_str(1)
|
|
assert not is_list_of_str(None)
|