aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
diff options
context:
space:
mode:
authorBenoit Pierre <benoit.pierre@gmail.com>2018-11-13 10:33:35 +0100
committerBenoit Pierre <benoit.pierre@gmail.com>2018-11-13 10:33:35 +0100
commit9f547fe6a30d544f52f8201ba89cff36f79d792d (patch)
tree9d35134875a7dd8a7f4f49cb1cfe002d63357684 /setuptools/tests
parentba7698287094f7274ae7cbabaf6baedc175ac213 (diff)
downloadexternal_python_setuptools-9f547fe6a30d544f52f8201ba89cff36f79d792d.tar.gz
external_python_setuptools-9f547fe6a30d544f52f8201ba89cff36f79d792d.tar.bz2
external_python_setuptools-9f547fe6a30d544f52f8201ba89cff36f79d792d.zip
add a test to catch unvendored dependencies
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_virtualenv.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py
index e511c918..7b5fea17 100644
--- a/setuptools/tests/test_virtualenv.py
+++ b/setuptools/tests/test_virtualenv.py
@@ -1,3 +1,4 @@
+import distutils.command
import glob
import os
import sys
@@ -134,3 +135,14 @@ def test_test_command_install_requirements(bare_virtualenv, tmpdir):
'python setup.py test -s test',
)).format(tmpdir=tmpdir))
assert tmpdir.join('success').check()
+
+
+def test_no_missing_dependencies(bare_virtualenv):
+ """
+ Quick and dirty test to ensure all external dependencies are vendored.
+ """
+ for command in ('upload',):#sorted(distutils.command.__all__):
+ bare_virtualenv.run(' && '.join((
+ 'cd {source}',
+ 'python setup.py {command} -h',
+ )).format(command=command, source=SOURCE_DIR))