mirror of
https://github.com/containers/podman-compose.git
synced 2025-07-08 16:37:02 +02:00
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)
|