Esempio n. 1
0
    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)
Esempio n. 2
0
 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)