blob: ad957e28b36dcacf04a926dc8fac67d5824eb061 (
plain)
1
2
3
4
5
6
7
8
9
10
|
"""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
|