Paul McNett wrote: > Carl Karsten wrote: >> Paul McNett wrote: >>> Carl Karsten wrote: >>>> why is run_all_tests.py in tools/ and not >>>> http://svn.dabodev.com/trac/dabo/browser/trunk/tests >>> Because I put it there, and then Nate came on board and revamped the >>> unit testing framework, and put it in a different place. We will >>> eventually merge/refactor my unit tests, but for now they are in >>> separate places. >>> >> What should I be modifying to add a test? > > What module is your test testing? >
dbMySQL def getDBs(self,user):
I guessed test_dCursorMixin.py - added this:
def test_getDBs(self): cur = self.cur self.assertEqual(cur.getDBs(), {})
## - End method unit tests -
and get:
AttributeError: 'DaboCursor' object has no attribute 'getDBs'
Carl K
©2007 Carl Karsten |