Roundup Tracker - Issues

Issue 751388

classification
testNothing fails in parsePropsFromForm
Type: Severity: normal
Components: Installation Versions:
process
Status: closed fixed
:
: richard : richard
Priority: normal :

Created on 2003-06-09 16:00 by anonymous, last changed 2003-06-10 00:10 by richard.

Messages
msg854 Author: [hidden] (anonymous) Date: 2003-06-09 16:00
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

msg855 Author: [hidden] (richard) Date: 2003-06-10 00:10
Logged In: YES 
user_id=6405

aargh ... beta3 released :( 
 
History
Date User Action Args
2003-06-09 16:00:23anonymouscreate