What assertion method will you use when you check if an expression is true?

Questions & AnswersCategory: PythonWhat assertion method will you use when you check if an expression is true?
Lokesh Kumar Staff asked 2 years ago

What assertion method will you use when you check if an expression is true?
a. unittest.TestCase.assertFalse()
b. unitest.TestCase.assertEqual()
c. unittest.TestCase.assertIn()
d. unittest.TestCase.assertIs()
e. unittest.TestCase.assertTrue()