Exemplo n.º 1
0
def _(
    root: Path = project,
    search=each("x/y/z", "a.py", "a/b.py", "a/b/c/d/e.py"),
    mod="a/b/c/d/e.py",
):
    module_path = root / mod
    assert not handled_within(module_path, [root / search])
Exemplo n.º 2
0
def _(
        root: Path = project,
        search=each("", "/", "a", "a/b", "a/b/c"),
        mod="a/b/c/d/e.py",
):
    module_path = root / mod
    assert handled_within(module_path, [root / search])