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: ...@@ -63,7 +63,7 @@ The code of the egg has been patched:
>>> import glob >>> import glob
>>> import os.path >>> 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" y="patched demoneeded"
def f(): def f():
pass pass
......
...@@ -112,9 +112,6 @@ def test_suite(): ...@@ -112,9 +112,6 @@ def test_suite():
''), ''),
]), ]),
), ),
))
suite = unittest.TestSuite((
doctest.DocFileSuite( doctest.DocFileSuite(
'patches.rst', 'patches.rst',
setUp=setUp, tearDown=zc.buildout.testing.buildoutTearDown, 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