Пример #1
0
    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)
Пример #2
0
    def test_normalize_boolean_default(self):
        """
        Ensure that make_splunkhome_path works using core Splunk's function.
        """

        self.assertTrue(normalizeBoolean(1), True)