Re: [Tutor] unittest.makeSuite question

2004-12-03 Thread Danny Yoo
On Thu, 2 Dec 2004, Kent Johnson wrote: > makeSuite() creates a TestSuite object that consolidates all the test > methods of the class named by the first argument. Test methods are > identified by having names starting with the second argument. [text cut] The unit testing framework is closely

Re: [Tutor] unittest.makeSuite question

2004-12-02 Thread Kent Johnson
makeSuite() creates a TestSuite object that consolidates all the test methods of the class named by the first argument. Test methods are identified by having names starting with the second argument. 'test' is the default value so you could omit it; in fact the most recent documentation does omit

[Tutor] unittest.makeSuite question

2004-12-02 Thread Guillermo Fernandez Castellanos
Hi, I've been through the unittest tutorial page and I've seen this function: suite = unittest.makeSuite(Testname,'test') In the python 2.4 Python Library Reference I have find no reference to such a fucntion (there is an example, exactly the same but without the 'test' parameter). I could not r