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 8ed0ee5a
slapos/test/utils.py 0 → 100644