Esempio n. 1
0
def _(
    mod=test_module,
    excludes=each(
        "*",
        "*/**.py",
        str(PATH),
        "**/test_mod.py",
        "path/to/*",
        "path/*/*.py",
    ),
):
    assert is_excluded_module(mod, [excludes])
Esempio n. 2
0
def _(mod=test_module, excludes=each("abc", str(PATH.parent))):
    assert not is_excluded_module(mod, [excludes])