Commit 7e6afe30 authored by Xavier Thompson's avatar Xavier Thompson

[fix] Fix ls(eggs) tests

Depending on the test environment, pip, setuptools and wheel dists
may be installed as .egg or .egg-link and may be files or folders.
parent f886a69c
......@@ -54,10 +54,11 @@ The ``bin`` directory contains scripts::
The ``eggs`` directory has installed distributions:
>>> ls(sample_buildout, 'eggs')
- pip.egg-link
- setuptools.egg-link
- wheel.egg-link
>>> print_() or ls(sample_buildout, 'eggs')
<BLANKLINE>
...pip...
...setuptools...
...wheel...
- zc.buildout.egg-link
The ``develop-eggs`` and ``parts`` directories are initially empty::
......@@ -3171,11 +3172,12 @@ We also get other buildout artifacts::
>>> ls(sample_bootstrapped, 'bin')
- buildout
>>> _ = (ls(sample_bootstrapped, 'eggs'),
>>> _ = (print_() or ls(sample_bootstrapped, 'eggs'),
... ls(sample_bootstrapped, 'develop-eggs'))
- pip.egg-link
- setuptools.egg-link
- wheel.egg-link
<BLANKLINE>
...pip...
...setuptools...
...wheel...
- zc.buildout.egg-link
(We list both the ``eggs`` and ``develop-eggs`` directories because the
......
......@@ -1006,10 +1006,10 @@ On the other hand, if we have a zipped egg, rather than a develop egg:
- zc.recipe.egg.egg-link
>>> ls('eggs') # doctest: +ELLIPSIS
- foox-0.0.0-py2.4.egg
- pip.egg-link
- setuptools.egg-link
- wheel.egg-link
- foox-0.0.0-pyN.N.egg
...pip...
...setuptools...
...wheel...
- zc.buildout.egg-link
We do not get a warning, but we do get setuptools included in the working set:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment