Exemplo n.º 1
0
    def test_functions_definition(self):
        """ Test that the package provides customization_data that defines the function """
        func = get_function_definition(PACKAGE_NAME, "microsoft_security_graph_update_alert")
        assert func is not None

        func = get_function_definition(PACKAGE_NAME, "microsoft_security_graph_get_alert_details")
        assert func is not None

        func = get_function_definition(PACKAGE_NAME, "microsoft_security_graph_alert_search")
        assert func is not None
    def test_function_definition(self):
        """ Test that the package provides customization_data that defines the function """

        func = get_function_definition(PACKAGE_NAME,
                                       "mitre_technique_information")
        assert func is not None

        func = get_function_definition(PACKAGE_NAME,
                                       "mitre_tactic_information")
        assert func is not None
 def test_function_definition(self):
     """ Test that the package provides customization_data that defines the function """
     func = get_function_definition(PACKAGE_NAME, FUNCTION_NAME)
     assert func is not None