Message854
from peter@webreply.com
Found an initial test bug
python 2.2.2
roundup 0.6-0b2
[peter@proof roundup-0.6.0b2]$ python2.2 ./run_tests
running anydbm, bsddb backend tests
................................E...........................................
............................................................................
...........................................
==========================================
============================
ERROR: testNothing (test.test_cgi.FormTestCase)
------------------------------------------------------
----------------
Traceback (most recent call last):
File "./test/test_cgi.py", line 128, in testNothing
self.assertEqual(self.parseForm({}), ({('test', None):
{}}, []))
File "./test/test_cgi.py", line 77, in parseForm
return cl.parsePropsFromForm()
File "./roundup/cgi/client.py", line 1907, in
parsePropsFromForm
if d['note'] and d['file']:
UnboundLocalError: local variable 'd' referenced before
assignment
------------------------------------------------------
----------------
Ran 195 tests in 167.002s
|
|
Date |
User |
Action |
Args |
2009-02-03 14:20:23 | admin | link | issue751388 messages |
2009-02-03 14:20:23 | admin | create | |
|