def METHOD_NAME(self):
    """
    Test the strToBool function.
    """
    for v in [True, "True", "TRUE", "true"]:
        self.assertTrue(strToBool(v))
    for v in [False, "False", "FALSE", "false"]:
        self.assertFalse(strToBool(v))
    for v in [1, 0, "", "alan", [], [''], {'a': 123}]:
        self.assertRaises(ValueError, strToBool, v)