suxmac2:~/sandboxes/Zope/Zope ajung$ bin/zopectl test -t Products.Five
Hi,

I encounter some strange problems with the testrunner (testing the Zope 2 trunk):


Running tests via: /opt/python-2.4.4/bin/python /Users/ajung_data/sandboxes/Zope/Zope/bin/test.py -v --config-file /Users/ajung_data/sandboxes/Zope/Zope/etc/zope.conf -t Products.Five
Parsing /Users/ajung_data/sandboxes/Zope/Zope/etc/zope.conf
Running tests at level 1
Test-module import failures:

Module: zope.testbrowser.tests

Traceback (most recent call last):
File "/Users/ajung_data/sandboxes/Zope/Zope/lib/python/zope/testbrowser/__init__.py", line 20, in ?
   from testing import Browser
File "/Users/ajung_data/sandboxes/Zope/Zope/lib/python/zope/testbrowser/testing.py", line 27, in ?
   from zope.testbrowser import browser
File "/Users/ajung_data/sandboxes/Zope/Zope/lib/python/zope/testbrowser/browser.py", line 19, in ?
   from test import pystone
 File "/Users/ajung_data/sandboxes/Zope/Zope/test.py", line 103, in ?
   help="""\
File "/opt/python-2.4.4/lib/python2.4/optparse.py", line 938, in add_option
   self._check_conflict(option)
File "/opt/python-2.4.4/lib/python2.4/optparse.py", line 913, in _check_conflict
   option)
OptionConflictError: option --config-file: conflicting option string(s): --config-file


Another error: running 'zopectl test -D'  tries to debug optparse itself

Running tests via: /opt/python-2.4.4/bin/python /Users/ajung_data/sandboxes/Zope/Zope/bin/test.py -v --config-file /Users/ajung_data/sandboxes/Zope/Zope/etc/zope.conf -D
Parsing /Users/ajung_data/sandboxes/Zope/Zope/etc/zope.conf
Running tests at level 1
optparse.OptionConflictError:
option --config-file: conflicting option string(s): --config-file
/opt/python-2.4.4/lib/python2.4/optparse.py(913)_check_conflict()
-> option)
(Pdb)


Any ideas?

Andreas

Attachment: pgpmwu4bQe9IK.pgp
Description: PGP signature

_______________________________________________
Zope-Dev maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to