Re: [Tutor] Unittest. Run test case independently

2008-07-16 Thread Kent Johnson
On Wed, Jul 16, 2008 at 2:58 AM, Oleg Oltar <[EMAIL PROTECTED]> wrote: > Is that possible to run test cases independently (without unittest.main) and > how to do it > > E.g. I tried it this way: > > import random > import unittest > > class TestSequenceFunctions(unittest.TestCase): > > def setU

[Tutor] Unittest. Run test case independently

2008-07-16 Thread Oleg Oltar
Is that possible to run test cases independently (without unittest.main) and how to do it E.g. I tried it this way: import random import unittest class TestSequenceFunctions(unittest.TestCase): def setUp(self): self.seq = range(10) def testshuffle(self): # make sure the