def test_expected(self): "answer() returns 42" self.assertEqual(answer(), 42)
def test_type(self): "answer() returns an integer" self.assertEqual(type(answer()), int)