diff options
Diffstat (limited to 'test/test_loaders.py')
-rw-r--r-- | test/test_loaders.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_loaders.py b/test/test_loaders.py new file mode 100644 index 0000000..d07c26e --- /dev/null +++ b/test/test_loaders.py @@ -0,0 +1,8 @@ +"""Tests for loaders submodule.""" +from ansiblelint.loaders import load_ignore_txt + + +def test_load_ignore_txt() -> None: + """Test load_ignore_txt.""" + result = load_ignore_txt(".ansible-lint-ignore") + assert result == {"playbook2.yml": {"foo-bar", "package-latest"}} |