blob: 52b297abec720c9563853d87e2d2c6f87fde32d5 (
plain)
1
2
3
4
5
6
7
8
9
|
"""Tests for constants module."""
from ansiblelint.constants import States
def test_states() -> None:
"""Test that states are evaluated as boolean false."""
assert bool(States.NOT_LOADED) is False
assert bool(States.LOAD_FAILED) is False
assert bool(States.UNKNOWN_DATA) is False
|