Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#23 failures=1, errors=1 while running python test_gadfly.py

open
nobody
None
5
2003-09-29
2003-09-29
No

on Windows XP with python 2.3
on Windows 2000 with python 2.2.3
gadfly from cvs

when I run the command "python test_gadfly", I got the
following error
messages:

D:\Martin\Projekte\Python\gadfly\test>python test_gadfly.py
..............................F.........E......................
======================================================================
ERROR: testSilentParsingErrorBug (__main__.test_Gadfly)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_gadfly.py", line 229, in
testSilentParsingErrorBug
'''INSERT INTO T (f, gadflyIndex) VALUES
('bob\\\'', 1)")'''
File "C:\python23\lib\unittest.py", line 279, in
failUnlessRaises
callableObj(*args, **kwargs)
File
"D:\Martin\Projekte\Python\gadfly\gadfly\database.py",
line 366,
in execute
cs[i] = cs[i].relbind(database)
File
"D:\Martin\Projekte\Python\gadfly\gadfly\operations.py",
line
195, in relbind
raise NameError, `name`+": data def exists"
NameError: 'FB': data def exists

======================================================================
FAIL: testIndex2 (__main__.test_Gadfly)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_gadfly.py", line 136, in testIndex2
self.assertEqual(len(self.curs.fetchall()),1)
File "C:\python23\lib\unittest.py", line 292, in
failUnlessEqual
raise self.failureException, \ AssertionError: 2 != 1

----------------------------------------------------------------------
Ran 63 tests in 13.920s

FAILED (failures=1, errors=1)

Discussion