[Zope-dev] Mountpoints
Jim Fulton
jim at zope.com
Sat Oct 29 17:18:11 EDT 2005
Chris McDonough wrote:
> This merge has been done.
>
> Since "zopectl test <ProductName>" no longer appears to do the right
> thing
Could you be more specific?
cd ~/z2/2/
bin/zopectl test CMFCore
Running tests via: /usr/local/bin/python2.3 /home/jim/z2/2/bin/test.py -v --config-file /home/jim/z2/2/etc/zope.conf CMFCore
Parsing /home/jim/z2/2/etc/zope.conf
Running tests at level 1
Test-module import failures:
Module: Products.CMFCore.tests.test_all
TypeError: Invalid test_suite, None, in Products.CMFCore.tests.test_all
Running unit tests:
Running:
..................................................
..................................................
..................................................
..................................................
........................./home/jim/z2/2/Products/CMFCore/tests/test_PortalContent.py:78: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
transaction.commit(1) # Make sure we have _p_jars
.................../home/jim/z2/2/Products/CMFCore/tests/test_PortalFolder.py:538: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
transaction.commit(1)
./home/jim/z2/2/Products/CMFCore/tests/test_PortalFolder.py:469: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
transaction.commit(1)
/home/jim/z2/2/Products/CMFCore/tests/test_PortalFolder.py:488: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
transaction.commit(1)
.....
........./home/jim/z2/2/Products/CMFCore/tests/test_PortalFolder.py:893: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
transaction.commit(1)
....../home/jim/z2/2/Products/CMFCore/tests/test_PortalFolder.py:1119: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
transaction.commit(1) # get a _p_jar for 'sub'
...................................
..................................................
..........
Ran 360 tests with 0 failures and 0 errors in 10.558 seconds.
Test-modules with import problems:
Products.CMFCore.tests.test_all
Note that I may have updated the testrunner since you tries this. You might try again.
> and I can't seem to get test.py to run anything except the entire
> test suite,
That's odd. What did you try?
As others have suggested, you should use -h to get help on the many
options. I've tried to make the new test runner backward compatible
with the old, but some old options are no longer supported.
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope-Dev
mailing list