mirror of
https://github.com/containers/podman-compose.git
synced 2025-01-22 05:49:04 +01:00
d1509468c3
Signed-off-by: Sergei Biriukov <svbiriukov@gmail.com>
11 lines
291 B
Python
11 lines
291 B
Python
from podman_compose import is_list_of_str
|
|
|
|
|
|
def test_is_list_of_str():
|
|
assert 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(1)
|
|
assert not is_list_of_str(None)
|