allow globs in file_patterns

This commit is contained in:
Manuel Barkhau 2019-02-21 15:41:06 +01:00
parent 710019ee44
commit 1e633a2a7d
10 changed files with 136 additions and 43 deletions

View file

@ -182,7 +182,12 @@ def test_parse_project_cfg():
assert cfg.tag is True
assert cfg.push is True
assert set(cfg.file_patterns.keys()) == {"setup.py", "README.rst", "setup.cfg"}
assert set(cfg.file_patterns.keys()) == {
"setup.py",
"README.rst",
"setup.cfg",
"src/module_v*/__init__.py",
}
def test_parse_toml_file(tmpdir):