def test_set_status(self):
        tc= TestCase( self.env, dict(zip(TC_KEYS[1:], self.tcvals)) )
        for a in self.acdicts:
            tc.add_action( TestAction( self.env, a ))
        tc.insert()

        for a in tc.actions:
            a.set_status(FAILED, 'dat war wohl nix')
        tc.set_status(FAILED)
    def test_create(self):

        tc= TestCase( self.env, dict(zip(TC_KEYS[1:], self.tcvals)) )
        for a in self.acdicts:
            tc.add_action( TestAction( self.env, a ))

        for k, v in zip(TC_KEYS[1:], self.tcvals):
            self.assertEqual(v, tc[k])


        self.assertEqual(2, len(tc.actions))
 def test_insert(self):
     tc= TestCase( self.env, dict(zip(TC_KEYS[1:], self.tcvals)) )
     for a in self.acdicts:
         tc.add_action( TestAction( self.env, a ))
     self.assertTrue(tc.insert() is not None)