Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add test base for Plone 2.1 (assumes the product is in the Products n…

…amespace)
  • Loading branch information...
commit c408d760d8f47e058b1168e14f3a1eaffef81aca 1 parent bedd39b
davisagli authored
Showing with 55 additions and 0 deletions.
  1. +55 −0 plone-2.1.x.cfg
View
55 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:]
Please sign in to comment.
Something went wrong with that request. Please try again.