File: test_loaders.py

package info (click to toggle)
python-ansible-compat 25.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 964 kB
  • sloc: python: 2,638; sh: 26; makefile: 24
file content (10 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
"""Test for ansible_compat.loaders module."""

from pathlib import Path

from ansible_compat.loaders import colpath_from_path


def test_colpath_from_path() -> None:
    """Test colpath_from_path non existing path."""
    assert colpath_from_path(Path("/foo/bar/")) is None