[Checkins] SVN: z3c.recipe.paster/trunk/src/z3c/recipe/paster/ Fix
test setup, added Paste, PasteDeploy and PasteScript,
Roger Ineichen
roger at projekt01.ch
Sun Jun 29 21:18:47 EDT 2008
Log message for revision 87849:
Fix test setup, added Paste, PasteDeploy and PasteScript,
it was on my local python installed which means it was missing in a plain setup
Changed:
U z3c.recipe.paster/trunk/src/z3c/recipe/paster/serve.py
U z3c.recipe.paster/trunk/src/z3c/recipe/paster/tests.py
-=-
Modified: z3c.recipe.paster/trunk/src/z3c/recipe/paster/serve.py
===================================================================
--- z3c.recipe.paster/trunk/src/z3c/recipe/paster/serve.py 2008-06-28 18:46:05 UTC (rev 87848)
+++ z3c.recipe.paster/trunk/src/z3c/recipe/paster/serve.py 2008-06-30 01:18:44 UTC (rev 87849)
@@ -40,8 +40,10 @@
options['location'] = os.path.join(
buildout['buildout']['parts-directory'], name)
- if options.get('eggs'):
- self.egg = zc.recipe.egg.Egg(buildout, name, options)
+ if options.get('eggs') is None:
+ raise zc.buildout.UserError(
+ 'You have to define at least one egg for setup an application.')
+ self.egg = zc.recipe.egg.Egg(buildout, name, options)
def install(self):
options = self.options
Modified: z3c.recipe.paster/trunk/src/z3c/recipe/paster/tests.py
===================================================================
--- z3c.recipe.paster/trunk/src/z3c/recipe/paster/tests.py 2008-06-28 18:46:05 UTC (rev 87848)
+++ z3c.recipe.paster/trunk/src/z3c/recipe/paster/tests.py 2008-06-30 01:18:44 UTC (rev 87849)
@@ -27,6 +27,9 @@
def setUp(test):
zc.buildout.testing.buildoutSetUp(test)
zc.buildout.testing.install_develop('z3c.recipe.paster', test)
+ zc.buildout.testing.install('Paste', test)
+ zc.buildout.testing.install('PasteDeploy', test)
+ zc.buildout.testing.install('PasteScript', test)
zc.buildout.testing.install('RestrictedPython', test)
zc.buildout.testing.install('ZConfig', test)
zc.buildout.testing.install('ZODB3', test)
More information about the Checkins
mailing list