Issue 905149
Created on 2004-02-26 15:45 by wc2so1, last changed 2004-02-27 22:02 by richard.
msg1131 |
Author: [hidden] (wc2so1) |
Date: 2004-02-26 15:45 |
|
In the run_tests.py script it appears that unittestgui
has changed slightly with new releases.
The line
unittestgui.main(suites, minimal)
apparently needs to be changed to
unittestgui.main(suites)
for unittestgui 1.7
I didn't check in this change since I am new to
unittestgui and may be using the wrong version.
|
msg1132 |
Author: [hidden] (richard) |
Date: 2004-02-26 22:34 |
|
Logged In: YES
user_id=6405
Hurm. It's really quite b0rken, even when that fix is made. I
might need to update to a more recent version of
run_tests.py from Zope :)
|
msg1133 |
Author: [hidden] (richard) |
Date: 2004-02-26 22:39 |
|
Logged In: YES
user_id=6405
Nope, looks like Zope3's test runner hasn't upgraded to the
latest unittestgui API either.
Won't upgrade to their code as it's python2.3-specific.
Feel free to close this issue if it's not particularly important to
you. I personally don't care about the gui runner.
|
msg1134 |
Author: [hidden] (richard) |
Date: 2004-02-26 22:42 |
|
Logged In: YES
user_id=6405
Hrm. Just noticed you say "unittestgui 1.7" whereas I just
downloaded the latest from the pyunit website, and it's 1.4.1
...
|
msg1135 |
Author: [hidden] (wc2so1) |
Date: 2004-02-27 15:47 |
|
Logged In: YES
user_id=424987
Hmm, this page http://pyunit.sourceforge.net/unittestgui.html
says it is 1.7 but I think you are right in that I'm
actually using 1.4.1.
The change that I made works for me, so why don't I just
check it in anyway, otherwise we should just remove the -m
flag from run_tests.py
I don't particularly care either way, but it was kind of
cute to see the progress bar indicate 0 errors with the
metakit backend ;)
|
msg1136 |
Author: [hidden] (richard) |
Date: 2004-02-27 22:02 |
|
Logged In: YES
user_id=6405
Go ahead and check in the change :)
|
|
Date |
User |
Action |
Args |
2004-02-26 15:45:12 | wc2so1 | create | |
|