def test_normalize_boolean(self): """ Ensure that make_splunkhome_path works using the built-in function. """ self.assertTrue(normalizeBoolean(1), True) self.assertTrue(normalizeBoolean(1, False), True)
def test_normalize_boolean_default(self): """ Ensure that make_splunkhome_path works using core Splunk's function. """ self.assertTrue(normalizeBoolean(1), True)