def METHOD_NAME(self):
    """Test integer convertor"""
    self.assertEqual(convert_integer('1.0'), 1)
    self.assertEqual(convert_integer(1), 1)
    self.assertEqual(convert_integer(str(1)), 1)
    with self.assertRaises(ValueError):
        convert_integer('a')