test: disable libnetworkcache requirement from buildout, then install it manually.

parent e9738f89
...@@ -16,7 +16,13 @@ BAD_GIT_REPOSITORY = 'http://git.erp5.org/repos/nowhere' ...@@ -16,7 +16,13 @@ BAD_GIT_REPOSITORY = 'http://git.erp5.org/repos/nowhere'
REVISION = '2566127' REVISION = '2566127'
def setUp(test): def setUp(test):
# XXX side effect. Disable libnetworkcache because buildout testing
# infrastructure doesn't support offline install of external egg "forced"
# into itself.
zc.buildout.buildout.LIBNETWORKCACHE_ENABLED = False
zc.buildout.testing.buildoutSetUp(test) zc.buildout.testing.buildoutSetUp(test)
zc.buildout.testing.install('slapos.libnetworkcache', test)
zc.buildout.testing.install_develop('slapos.recipe.build', test) zc.buildout.testing.install_develop('slapos.recipe.build', test)
class GitCloneNonInformativeTests(unittest.TestCase): class GitCloneNonInformativeTests(unittest.TestCase):
......
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