summaryrefslogtreecommitdiff
path: root/setuptools/tests/config/test_expand.py
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-02-19 20:30:10 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-03-05 14:54:35 +0000
commit54f61809ed9da2a1ab3d14f7a8f06c3d74ad799c (patch)
tree5bf6f5454db4d87222c392f4b3602dc3f3da11b7 /setuptools/tests/config/test_expand.py
parentd3e62b109e0d6ec57dcf14207c7dd91610138666 (diff)
downloadpython-setuptools-git-54f61809ed9da2a1ab3d14f7a8f06c3d74ad799c.tar.gz
Find namespaces by default when using config in 'pyproject.toml'
Diffstat (limited to 'setuptools/tests/config/test_expand.py')
-rw-r--r--setuptools/tests/config/test_expand.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/tests/config/test_expand.py b/setuptools/tests/config/test_expand.py
index 1898792b..2461347d 100644
--- a/setuptools/tests/config/test_expand.py
+++ b/setuptools/tests/config/test_expand.py
@@ -88,9 +88,10 @@ def test_resolve_class():
@pytest.mark.parametrize(
'args, pkgs',
[
- ({"where": ["."]}, {"pkg", "other"}),
- ({"where": [".", "dir1"]}, {"pkg", "other", "dir2"}),
+ ({"where": ["."], "namespaces": False}, {"pkg", "other"}),
+ ({"where": [".", "dir1"], "namespaces": False}, {"pkg", "other", "dir2"}),
({"namespaces": True}, {"pkg", "other", "dir1", "dir1.dir2"}),
+ ({}, {"pkg", "other", "dir1", "dir1.dir2"}), # default value for `namespaces`
]
)
def test_find_packages(tmp_path, monkeypatch, args, pkgs):