Changeset 299

Show
Ignore:
Timestamp:
09/18/06 17:02:56 (2 years ago)
Author:
sgillies
Message:

no longer necessary to load zcml in tests

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PleiadesGeocoder/trunk/tests/FolderGeoViews.txt

    r256 r299  
    88Setup the test fixture 
    99 
    10     >>> from Products.Five import zcml 
    11     >>> import Products 
    12     >>> zcml.load_config('configure.zcml', package=Products.PleiadesGeocoder) 
    1310    >>> from Products.PloneTestCase import PloneTestCase 
    1411    >>> PloneTestCase.installProduct('PleiadesGeocoder') 
  • PleiadesGeocoder/trunk/tests/runtests

    r176 r299  
    11#!/bin/sh 
    22 
    3 PYTHON="/home/sean/pleiades/plone-sites/p1/bin/python" 
    4 INSTANCE_HOME="/home/sean/pleiades/plone-sites/p1/zope-instance" 
    5 SOFTWARE_HOME="/home/sean/pleiades/plone-sites/p1/Zope-2.9.3/lib/python" 
     3PYTHON="/usr/bin/python" 
     4INSTANCE_HOME="/home/sean/pleiades/plone-sites/pleiades-dev/instance" 
     5SOFTWARE_HOME="/home/sean/pleiades/plone-sites/pleiades-dev/Zope-2.9.4/lib/python" 
    66PYTHONPATH="$SOFTWARE_HOME" 
    77export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME 
  • PleiadesGeocoder/trunk/tests/test_functional.py

    r199 r299  
    77from Products.PloneTestCase import PloneTestCase 
    88from Testing.ZopeTestCase import FunctionalDocFileSuite as Suite 
    9  
    10 # Shouldn't be necessary with latest SVN PTC 
    11 from Products.Five import zcml 
    12 import Products 
    13 zcml.load_config('configure.zcml', package=Products.PleiadesGeocoder) 
    149 
    1510PloneTestCase.installProduct('PleiadesGeocoder') 
  • PleiadesGeocoder/trunk/tests/test_simple.py

    r203 r299  
    1919 
    2020# Shouldn't be necessary with latest SVN PTC 
    21 from Products.Five import zcml 
    22 import Products 
    23 zcml.load_config('configure.zcml', package=Products.PleiadesGeocoder) 
     21#from Products.Five import zcml 
     22#import Products 
     23#zcml.load_config('configure.zcml', package=Products.PleiadesGeocoder) 
    2424 
    2525PloneTestCase.installProduct('PleiadesGeocoder')