test: introduce makeRecipe utility function
This function factorize the code to instanciate a recipe in a fake buildout. The new feature is that if running in a buildout directory, the recipe will reuse the eggs from this buildout instead of trying to install eggs again.
1 parent ad690020
slapos/test/utils.py 0 → 100644