def Tests(unittest.TestCase):
def test_one(self):
self.assertEqual(a,1)
def test_two(self):
self.assertEqual(b,2)
assert c == 3
assert d == 4
def test_three(self):
self.assertEqual(e,5)
assert f ==6
I am getting 2 tests run
whereas clearly I have three test functions and 6 asserts. Are my asserts not getting tested?
Aucun commentaire:
Enregistrer un commentaire