Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add test base for Plone 2.1 (assumes the product is in the Products n…
…amespace)
  • Loading branch information
davisagli committed Mar 9, 2010
1 parent bedd39b commit c408d76
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions plone-2.1.x.cfg
@@ -0,0 +1,55 @@
[buildout]
parts = zope2 plone instance omelette test
find-links =
http://dist.plone.org
http://download.zope.org/ppix/
http://download.zope.org/distribution/
http://effbot.org/downloads

develop = .
unzip = true
versions = versions

package-name =

[versions]
plone.recipe.zope2instance = 3.6

[zope2]
recipe = plone.recipe.zope2install
url = http://www.zope.org/Products/Zope/2.8.12/Zope-2.8.12-final.tgz

[plone]
recipe = plone.recipe.distros
urls = http://dist.plone.org/archive/Plone-2.1.4.tar.gz
nested-packages = Plone-2.1.4.tar.gz
version-suffix-packages = Plone-2.1.4.tar.gz

[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
user = admin:admin
eggs =
elementtree
products =
${plone:location}
${buildout:directory}/build/Products

[omelette]
recipe = collective.recipe.omelette
eggs =
Products.PloneTestCase
${buildout:package-name}
location = ${buildout:directory}/build

[test]
recipe = zc.recipe.egg
eggs =
${instance:eggs}
plone.recipe.zope2instance

extra-paths = ${zope2:location}/lib/python
entry-points = test=plone.recipe.zope2instance.ctl:main

arguments =
["-C", "${instance:location}/etc/zope.conf", "test"] + sys.argv[1:]

0 comments on commit c408d76

Please sign in to comment.