diff options
author | Pi Delport <pjdelport@gmail.com> | 2017-04-18 17:10:47 +0200 |
---|---|---|
committer | Pi Delport <pjdelport@gmail.com> | 2017-04-18 17:15:35 +0200 |
commit | 58fa3b44e5130b0cf79523c876f46a07734db7ba (patch) | |
tree | dc2c9b4d9623cad1caa1ff285e4ce50697395894 | |
parent | 0a32f2290aed6db34a142de0d5c0d607b60c6a05 (diff) | |
download | external_python_setuptools-58fa3b44e5130b0cf79523c876f46a07734db7ba.tar.gz external_python_setuptools-58fa3b44e5130b0cf79523c876f46a07734db7ba.tar.bz2 external_python_setuptools-58fa3b44e5130b0cf79523c876f46a07734db7ba.zip |
Add an integration test to install pyuri
This test is also a regression test for issue #1016.
-rw-r--r-- | setuptools/tests/test_integration.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/setuptools/tests/test_integration.py b/setuptools/tests/test_integration.py index cb62eb29..2acec91b 100644 --- a/setuptools/tests/test_integration.py +++ b/setuptools/tests/test_integration.py @@ -99,6 +99,21 @@ def test_python_novaclient(install_context): _install_one('python-novaclient', install_context, 'novaclient', 'base.py') + +def test_pyuri(install_context): + """ + Install the pyuri package (version 0.3.1 at the time of writing). + + This is also a regression test for issue #1016. + """ + _install_one('pyuri', install_context, 'pyuri', 'uri.py') + + pyuri = install_context.installed_projects['pyuri'] + + # The package data should be installed. + assert os.path.exists(os.path.join(pyuri.location, 'pyuri', 'uri.regex')) + + import re import subprocess import functools |