Re: Connecting multiple test cases in a sort of pipe

2009-07-30 Thread Raghuram Devarakonda
On Jul 30, 2:43 am, "Diez B. Roggisch" wrote: > Write a TestCase-subclass that simply works like this: > > class FileTests(TestCase): > > def test_create(self): > self.created_file = create() > assert something > > def test_list(self): > self.test_create() >

Re: Connecting multiple test cases in a sort of pipe

2009-07-29 Thread Diez B. Roggisch
Raghuram Devarakonda schrieb: Hi, I have three functions - create(), list(), and delete(). create() creates a new name in the file system hierarchy while list() displays all such created names and delete() removes them. I would like to write test cases for each of these functions, say, test_crea