From: Steve W. <ste...@gs...> - 2002-05-20 14:06:33
|
Yep. It's not complaining about not finding things in unittest; it's complaining about the scripts. E.g.: Run: 51 Failures: 0 Errors: 29 There were 29 errors: 1) __main__.DBAPICompliance.CheckAPILevel Traceback (most recent call last): File "PgSQLTestCases.py", line 81, in CheckAPILevel self.assertEqual(PgSQL.apilevel, '2.0', AttributeError: DBAPICompliance instance has no attribute 'assertEqual' -- Steve. Tom Jenkins wrote: > > Have you installed PyUnit? > http://pyunit.sourceforge.net > > On Mon, 2002-05-20 at 09:37, Steve Waterbury wrote: > > I installed PyPgSQL and ran PgSQLTestCases.py, which gave 29 errors -- but > > these seem to be problems with the test scripts rather than with > > PyPgSQL itself. All errors came down to 4 methods missing in various unit > > test scripts: "assertEqual", "assertEquals" [sic -- typo?], > > "failUnlessRaises", and "fail". > > > > -- Steve. > > Tom Jenkins > Development InfoStructure > http://www.devis.com |