module unittest¶
Source: stdlib/unittest.codon
unittest¶Source: stdlib/unittest.codon
TestCase¶fail(self, standard_message: str, special_message: str = "")¶assertTrue(self, obj, msg = "")¶assertFalse(self, obj, msg = "")¶assertEqual(self, first, second, msg = "")¶assertNotEqual(self, first, second, msg = "")¶assertSequenceEqual(self, seq1, seq2, msg = "")¶assertIn(self, member, container, msg = "")¶assertNotIn(self, member, container, msg = "")¶assertIs(self, expr1, expr2, msg = "")¶assertIsNot(self, expr1, expr2, msg = "")¶assertIsNot(self, expr1, expr2, msg = "")¶assertCountEqual(self, first, second, msg = "")¶assertLess(self, a, b, msg = "")¶assertLessEqual(self, a, b, msg = "")¶assertGreater(self, a, b, msg = "")¶assertGreaterEqual(self, a, b, msg = "")¶assertIsNone(self, obj, msg = "")¶assertIsNotNone(self, obj, msg = "")¶assertRaises(self, exception: type, function, *args, **kwargs)¶assertAlmostEqual(self, first, second, places: int = 0, msg = "", delta = None)¶