Exemple #1
0
 def test1(self):
     expected = "success"
     self.assertEqual(expected, task.firstrun())
Exemple #2
0
    def test1(self):
        # example test 1
        expected = "Success"

        self.assertEqual(expected, task.firstrun())
Exemple #3
0
 def test2(self):
     expected = "failure"
     self.assertNotEqual(expected, task.firstrun())
Exemple #4
0
 def test2(self):
     # example test 2
     expected = "Failure"
     self.assertNotEqual(expected, task.firstrun())