summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_manifest.py
diff options
context:
space:
mode:
authorHatem Nassrat <hnassrat@gmail.com>2017-01-23 18:07:21 +0000
committerHatem Nassrat <hnassrat@gmail.com>2017-01-23 18:07:21 +0000
commit56274b32724933cd2016488c4e667e86d30572ef (patch)
tree76ccc91856634e666b23f248d8f03b1398218bb3 /setuptools/tests/test_manifest.py
parent094862cd6c1683b6a861e8824a96ef74dfd1a8d0 (diff)
downloadpython-setuptools-git-56274b32724933cd2016488c4e667e86d30572ef.tar.gz
fixes #935 - allows for glob syntax in graft
Diffstat (limited to 'setuptools/tests/test_manifest.py')
-rw-r--r--setuptools/tests/test_manifest.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/setuptools/tests/test_manifest.py b/setuptools/tests/test_manifest.py
index cf39346a..3b34c888 100644
--- a/setuptools/tests/test_manifest.py
+++ b/setuptools/tests/test_manifest.py
@@ -206,6 +206,15 @@ class TestManifestTest(TempDirTestCase):
l('app/static/app.css'), l('app/static/app.css.map')])
assert files == self.get_files()
+ def test_graft_glob_syntax(self):
+ """Include the whole app/static/ directory."""
+ l = make_local_path
+ self.make_manifest("graft */static")
+ files = default_files | set([
+ l('app/static/app.js'), l('app/static/app.js.map'),
+ l('app/static/app.css'), l('app/static/app.css.map')])
+ assert files == self.get_files()
+
def test_graft_global_exclude(self):
"""Exclude all *.map files in the project."""
l = make_local_path