def test_instance(self): self.assertIsInstance(foo(), int)
def test_equals(self): self.assertEqual(foo(), 42)