diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2017-04-18 18:02:23 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-04-18 18:02:23 -0500 |
| commit | 8dc5b92c59b1d844b671390041364a0ac27cc5c2 (patch) | |
| tree | 562ed2d782302b5a089515cbe470c795d08ffe10 | |
| parent | 1163c86b3b62258f28964c2aee8483631a85c892 (diff) | |
| parent | 58fa3b44e5130b0cf79523c876f46a07734db7ba (diff) | |
| download | python-setuptools-git-8dc5b92c59b1d844b671390041364a0ac27cc5c2.tar.gz | |
Merge regression test for #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 |
