Commit 44b3c076 authored by Jérome Perrin's avatar Jérome Perrin

fixup! fixup! zc.recipe.egg: Improve on the fly pathces.

other tests have been disabled by mistake.
test was randomly failing because of glob.
parent 9aeda0ea
Pipeline #11415 passed with stage
in 0 seconds
......@@ -63,7 +63,7 @@ The code of the egg has been patched:
>>> import glob
>>> import os.path
>>> cat(glob.glob(os.path.join(sample_buildout, 'eggs', 'demoneeded-1.1+slapospatched001*', '*'))[0])
>>> cat(glob.glob(os.path.join(sample_buildout, 'eggs', 'demoneeded-1.1+slapospatched001*', 'eggrecipedemoneeded.py'))[0])
y="patched demoneeded"
def f():
pass
......
......@@ -112,9 +112,6 @@ def test_suite():
''),
]),
),
))
suite = unittest.TestSuite((
doctest.DocFileSuite(
'patches.rst',
setUp=setUp, tearDown=zc.buildout.testing.buildoutTearDown,
......
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