Commit 7a68b765 authored by Jérome Perrin's avatar Jérome Perrin

fixup! test: introduce makeRecipe utility function

parent 7891eba0
......@@ -43,7 +43,7 @@ def makeRecipe(recipe_class, options, name='test', slap_connection=None):
# the usual layout is
# ${buildout:directory}/parts/slapos-repository/slapos/test/utils.py , so try
# to find a buildout relative to this file.
buildout_cfg = path.join(os.path.dirname(__file__), '..', '..', '..', '..', 'buildout.cfg')
buildout_cfg = os.path.join(os.path.dirname(__file__), '..', '..', '..', '..', 'buildout.cfg')
if os.path.exists(buildout_cfg):
parser = ConfigParser()
parser.readfp(open(buildout_cfg))
......
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