[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] QtUnittest and Eric...
From:       Timothy Grant <tjg () craigelachie ! org>
Date:       2003-04-26 21:42:20
[Download RAW message or body]

I have a test module that works very well using "unittest.main()" 

I recently decided to attempt to use a graphical debugger, so installed Eric3, 
but I cannot figure out what I have to do to get the GUI unittest to work.

It always tells me that the module has no attribute "suite" so I created a 
suite function...

def test_suite():
    suite = unittest.TestSuite()
    suite.addTest(
	TableInstantiationTestCase("test_Table_Object_Instantiates"))
    return suite

It still doesn't like it. So what's the trick? I'm sure it's something 
stupidly simple, but the combinations I've tried so far haven't worked.

Thanks.

-- 
Stand Fast,
    tjg.

Timothy Grant
www.craigelachie.org

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic