From 8b5dee9451b1c79d8597410630ff0baddfdb5aef Mon Sep 17 00:00:00 2001 From: Rob Marsal Date: Tue, 12 May 2026 12:56:16 +0100 Subject: [PATCH] fix(PRO-2634): add unknown default case for enums this prevents the SDK from erroring when new values are being added. --- .github/workflows/check.yaml | 5 +- .gitignore | 4 +- config.yml | 3 +- revengai/models/ai_decompilation_rating.py | 6 + .../models/ai_decompilation_task_status.py | 6 + revengai/models/analysis_scope.py | 6 + ...app_api_rest_v2_analyses_enums_order_by.py | 6 + ..._api_rest_v2_collections_enums_order_by.py | 6 + revengai/models/binaries_task_status.py | 6 + revengai/models/binary_task_status.py | 6 + revengai/models/collection_scope.py | 6 + revengai/models/dynamic_execution_status.py | 6 + revengai/models/file_format.py | 6 + revengai/models/filters.py | 6 + revengai/models/function_source_type.py | 6 + revengai/models/function_task_status.py | 6 + revengai/models/isa.py | 6 + revengai/models/model_name.py | 6 + revengai/models/order.py | 6 + revengai/models/platform.py | 6 + revengai/models/regenerate_target.py | 6 + revengai/models/sandbox_start_method.py | 6 + revengai/models/sandbox_timeout.py | 6 + revengai/models/status_input.py | 6 + revengai/models/string_source.py | 6 + revengai/models/task_status.py | 6 + revengai/models/upload_file_type.py | 6 + revengai/models/workspace.py | 6 + templates/model_enum.mustache | 41 ++ ...test_additional_details_status_response.py | 51 --- test/test_addr.py | 49 -- test/test_agent_api.py | 93 ---- test/test_ai_decompilation_rating.py | 32 -- test/test_ai_decompilation_task_status.py | 32 -- test/test_ai_unstrip_request.py | 50 --- test/test_analyses_bulk_actions_api.py | 44 -- test/test_analyses_comments_api.py | 58 --- test/test_analyses_core_api.py | 142 ------ test/test_analyses_results_metadata_api.py | 79 ---- test/test_analyses_x_refs_api.py | 37 -- test/test_analysis_access_info.py | 53 --- test/test_analysis_bulk_add_tags_request.py | 61 --- test/test_analysis_bulk_add_tags_response.py | 61 --- ...st_analysis_bulk_add_tags_response_item.py | 54 --- test/test_analysis_config.py | 61 --- test/test_analysis_create_request.py | 87 ---- test/test_analysis_create_response.py | 53 --- test/test_analysis_detail_response.py | 86 ---- test/test_analysis_function_mapping.py | 69 --- ...test_analysis_function_matching_request.py | 72 --- test/test_analysis_functions.py | 67 --- test/test_analysis_functions_list.py | 79 ---- test/test_analysis_record.py | 85 ---- test/test_analysis_report.py | 111 ----- test/test_analysis_scope.py | 32 -- test/test_analysis_string_input.py | 55 --- test/test_analysis_strings_response.py | 71 --- test/test_analysis_strings_status_response.py | 51 --- test/test_analysis_tags.py | 61 --- test/test_analysis_update_request.py | 51 --- test/test_analysis_update_tags_request.py | 55 --- test/test_analysis_update_tags_response.py | 59 --- test/test_api_call.py | 54 --- test/test_api_error.py | 52 --- ...app_api_rest_v2_agent_schema_capability.py | 61 --- ...app_api_rest_v2_analyses_enums_order_by.py | 32 -- ..._api_rest_v2_collections_enums_order_by.py | 32 -- ...pi_rest_v2_functions_responses_function.py | 52 --- ...pp_api_rest_v2_functions_types_function.py | 61 --- ...t_app_api_rest_v2_info_types_capability.py | 59 --- test/test_argument.py | 58 --- test/test_authentication_users_api.py | 65 --- test/test_auto_run_agents.py | 50 --- test/test_auto_unstrip_request.py | 56 --- test/test_auto_unstrip_response.py | 61 --- test/test_base_response.py | 62 --- ...onse_additional_details_status_response.py | 63 --- ...esponse_analysis_bulk_add_tags_response.py | 68 --- ..._base_response_analysis_create_response.py | 64 --- ..._base_response_analysis_detail_response.py | 81 ---- ...base_response_analysis_function_mapping.py | 72 --- test/test_base_response_analysis_functions.py | 71 --- ...t_base_response_analysis_functions_list.py | 77 ---- ...base_response_analysis_strings_response.py | 73 --- ...sponse_analysis_strings_status_response.py | 63 --- test/test_base_response_analysis_tags.py | 68 --- ..._response_analysis_update_tags_response.py | 67 --- test/test_base_response_basic.py | 79 ---- ...sponse_binaries_related_status_response.py | 63 --- ...ase_response_binary_additional_response.py | 250 ----------- ...t_base_response_binary_details_response.py | 82 ---- ...base_response_binary_externals_response.py | 67 --- ...st_base_response_binary_search_response.py | 76 ---- test/test_base_response_bool.py | 62 --- ...ponse_callees_caller_functions_response.py | 81 ---- test/test_base_response_capabilities.py | 70 --- ...se_response_capabilities_agent_response.py | 71 --- ...t_base_response_child_binaries_response.py | 74 --- ...nse_collection_binaries_update_response.py | 72 --- .../test_base_response_collection_response.py | 77 ---- ...ase_response_collection_search_response.py | 79 ---- ...esponse_collection_tags_update_response.py | 65 --- test/test_base_response_comment_response.py | 70 --- test/test_base_response_config_response.py | 70 --- test/test_base_response_created.py | 65 --- test/test_base_response_dict.py | 62 --- test/test_base_response_external_response.py | 65 --- ..._base_response_function_blocks_response.py | 95 ---- ...e_response_function_capability_response.py | 65 --- .../test_base_response_function_data_types.py | 98 ---- ..._base_response_function_data_types_list.py | 104 ----- ..._base_response_function_search_response.py | 72 --- ...base_response_function_strings_response.py | 69 --- ...st_base_response_function_task_response.py | 64 --- ...base_response_functions_detail_response.py | 73 --- ...e_response_generate_function_data_types.py | 73 --- ...st_base_response_generation_status_list.py | 70 --- ...base_response_get_ai_decompilation_task.py | 127 ------ test/test_base_response_get_me_response.py | 70 --- ..._base_response_get_public_user_response.py | 64 --- ..._list_callees_caller_functions_response.py | 83 ---- ...t_base_response_list_collection_results.py | 78 ---- ...est_base_response_list_comment_response.py | 72 --- test/test_base_response_list_die_match.py | 68 --- ...ase_response_list_function_name_history.py | 71 --- test/test_base_response_list_sbom.py | 72 --- ...se_response_list_user_activity_response.py | 70 --- test/test_base_response_logs.py | 63 --- test/test_base_response_models_response.py | 65 --- test/test_base_response_params.py | 69 --- ..._response_queued_workflow_task_response.py | 63 --- test/test_base_response_recent.py | 87 ---- ..._base_response_report_analysis_response.py | 90 ---- test/test_base_response_status.py | 64 --- test/test_base_response_str.py | 62 --- .../test_base_response_tag_search_response.py | 67 --- test/test_base_response_task_response.py | 64 --- ...test_base_response_task_status_response.py | 68 --- ...st_base_response_triage_report_response.py | 74 --- ...decompilation_rating_response_none_type.py | 64 --- test/test_base_response_upload_response.py | 65 --- test/test_base_response_vulnerabilities.py | 76 ---- test/test_base_response_xref_response.py | 91 ---- test/test_basic.py | 81 ---- test/test_binaries_api.py | 86 ---- test/test_binaries_related_status_response.py | 51 --- test/test_binaries_task_status.py | 32 -- ...binary_additional_details_data_response.py | 247 ---------- test/test_binary_additional_response.py | 424 ------------------ test/test_binary_config.py | 52 --- test/test_binary_details_response.py | 89 ---- test/test_binary_externals_response.py | 59 --- test/test_binary_search_response.py | 77 ---- test/test_binary_search_result.py | 71 --- test/test_binary_task_status.py | 32 -- test/test_bulk_delete_analyses_request.py | 55 --- test/test_callee_function_info.py | 60 --- .../test_callees_caller_functions_response.py | 87 ---- test/test_caller_function_info.py | 60 --- test/test_capabilities.py | 65 --- test/test_capabilities_agent_response.py | 67 --- test/test_child_binaries_response.py | 68 --- test/test_code_signature_model.py | 79 ---- ...test_collection_binaries_update_request.py | 55 --- ...est_collection_binaries_update_response.py | 69 --- test/test_collection_binary_response.py | 63 --- test/test_collection_create_request.py | 62 --- test/test_collection_list_item.py | 71 --- test/test_collection_response.py | 72 --- ...test_collection_response_binaries_inner.py | 63 --- test/test_collection_scope.py | 32 -- test/test_collection_search_response.py | 83 ---- test/test_collection_search_result.py | 72 --- test/test_collection_tags_update_request.py | 55 --- test/test_collection_tags_update_response.py | 55 --- test/test_collection_update_request.py | 52 --- test/test_collections_api.py | 79 ---- test/test_comment_base.py | 51 --- test/test_comment_response.py | 64 --- test/test_comment_update_request.py | 51 --- test/test_comments_data.py | 58 --- test/test_config_api.py | 37 -- test/test_config_response.py | 64 --- test/test_confirm_tool_input_body.py | 52 --- test/test_connection.py | 64 --- test/test_context.py | 53 --- test/test_conversation.py | 61 --- test/test_conversation_context.py | 51 --- test/test_conversation_with_events.py | 67 --- test/test_conversations_api.py | 79 ---- test/test_create_ai_decomp_output_body.py | 52 --- test/test_create_conversation_request.py | 52 --- test/test_created.py | 55 --- test/test_decompilation_comment_context.py | 53 --- test/test_decompilation_data.py | 53 --- test/test_die_match.py | 57 --- test/test_dns_query.py | 56 --- test/test_drakvuf_file_metadata.py | 56 --- test/test_dynamic_execution_status.py | 32 -- .../test_dynamic_execution_status_response.py | 52 --- test/test_elf_dynamic_entry.py | 53 --- test/test_elf_import_model.py | 57 --- test/test_elf_model.py | 223 --------- test/test_elf_relocation.py | 63 --- test/test_elf_section.py | 69 --- test/test_elf_security.py | 59 --- test/test_elf_segment.py | 67 --- test/test_elf_symbol.py | 63 --- test/test_entrypoint_model.py | 53 --- test/test_enumeration.py | 59 --- test/test_error_body.py | 57 --- test/test_error_model.py | 53 --- test/test_event.py | 63 --- test/test_event_contextcompacted.py | 55 --- test/test_event_runcancelled.py | 55 --- test/test_event_runerror.py | 55 --- test/test_event_runfinished.py | 55 --- test/test_event_runstarted.py | 55 --- test/test_event_stepfinished.py | 55 --- test/test_event_stepstarted.py | 55 --- test/test_event_textmessagecontent.py | 55 --- test/test_event_textmessageend.py | 55 --- test/test_event_textmessagestart.py | 55 --- test/test_event_titleupdated.py | 55 --- test/test_event_toolcallargsdelta.py | 55 --- test/test_event_toolcallend.py | 55 --- test/test_event_toolcallresult.py | 55 --- test/test_event_toolcallstart.py | 55 --- test/test_event_toolconfirmationrequired.py | 55 --- test/test_export_model.py | 61 --- test/test_external_response.py | 55 --- test/test_external_sources_api.py | 51 --- test/test_extracted_url.py | 56 --- test/test_file_activity_entry.py | 56 --- test/test_file_format.py | 32 -- test/test_file_hashes.py | 65 --- test/test_file_metadata.py | 73 --- test/test_filters.py | 32 -- test/test_firmware_api.py | 44 -- ...est_function_block_destination_response.py | 55 --- test/test_function_block_response.py | 74 --- test/test_function_blocks_response.py | 114 ----- test/test_function_boundary.py | 56 --- test/test_function_capability_response.py | 55 --- test/test_function_comment_create_request.py | 54 --- test/test_function_data_types.py | 87 ---- test/test_function_data_types_list.py | 131 ------ test/test_function_data_types_list_item.py | 89 ---- test/test_function_data_types_params.py | 55 --- test/test_function_data_types_status.py | 55 --- test/test_function_header.py | 72 --- test/test_function_info_input.py | 84 ---- ...est_function_info_input_func_deps_inner.py | 65 --- test/test_function_info_output.py | 84 ---- test/test_function_list_item.py | 73 --- test/test_function_local_variable_response.py | 59 --- test/test_function_mapping.py | 67 --- test/test_function_mapping_full.py | 162 ------- test/test_function_match.py | 84 ---- test/test_function_matching_filters.py | 64 --- test/test_function_matching_request.py | 80 ---- test/test_function_matching_response.py | 81 ---- test/test_function_name_history.py | 63 --- test/test_function_param_response.py | 59 --- test/test_function_rename.py | 53 --- test/test_function_rename_map.py | 55 --- test/test_function_search_response.py | 69 --- test/test_function_search_result.py | 63 --- test/test_function_source_type.py | 32 -- test/test_function_string.py | 54 --- test/test_function_strings_response.py | 63 --- test/test_function_task_response.py | 51 --- test/test_function_task_status.py | 32 -- test/test_function_type_input.py | 94 ---- test/test_function_type_output.py | 94 ---- test/test_functions_ai_decompilation_api.py | 170 ------- test/test_functions_core_api.py | 128 ------ test/test_functions_data_types_api.py | 72 --- test/test_functions_detail_response.py | 71 --- test/test_functions_list_rename.py | 61 --- test/test_functions_renaming_history_api.py | 58 --- test/test_generate_function_data_types.py | 71 --- test/test_generate_pdf_output_body.py | 53 --- test/test_generation_status_list.py | 63 --- ...st_get_ai_decompilation_rating_response.py | 53 --- test/test_get_ai_decompilation_task.py | 175 -------- test/test_get_me_response.py | 65 --- test/test_get_public_user_response.py | 53 --- test/test_global_variable.py | 59 --- test/test_http_request.py | 71 --- test/test_icon_model.py | 51 --- test/test_import_model.py | 65 --- test/test_inline_comment.py | 53 --- test/test_insert_analysis_log_request.py | 51 --- test/test_inverse_function_map_item.py | 54 --- test/test_inverse_string_map_item.py | 53 --- test/test_inverse_value.py | 51 --- test/test_ioc.py | 58 --- test/test_isa.py | 32 -- test/test_list_collection_results.py | 81 ---- test/test_logs.py | 51 --- test/test_matched_function.py | 69 --- test/test_matched_function_suggestion.py | 56 --- test/test_memdump_entry.py | 67 --- test/test_meta_model.py | 53 --- test/test_mitre_technique.py | 69 --- test/test_model_name.py | 32 -- test/test_models_api.py | 37 -- test/test_models_response.py | 55 --- test/test_module_load_entry.py | 56 --- test/test_mutex_entry.py | 56 --- test/test_name_confidence.py | 53 --- test/test_name_source_type.py | 54 --- test/test_network_activity.py | 69 --- test/test_numeric_addr.py | 51 --- test/test_order.py | 32 -- test/test_pagination_model.py | 55 --- test/test_params.py | 63 --- test/test_pdb_debug_model.py | 61 --- test/test_pe_model.py | 215 --------- test/test_platform.py | 32 -- test/test_process_activity_entry.py | 65 --- test/test_process_memdumps.py | 56 --- test/test_process_node.py | 70 --- test/test_process_tree.py | 55 --- test/test_progress_message.py | 57 --- test/test_put_analysis_strings_request.py | 61 --- test/test_queue_position_response.py | 52 --- test/test_queued_workflow_task_response.py | 51 --- test/test_re_analysis_form.py | 57 --- test/test_recent.py | 99 ---- test/test_regenerate_output_body.py | 52 --- test/test_regenerate_target.py | 32 -- test/test_registry_operation.py | 56 --- test/test_relative_binary_response.py | 56 --- test/test_replacement_value.py | 51 --- test/test_report_analysis_response.py | 105 ----- test/test_report_event.py | 61 --- test/test_report_info.py | 62 --- test/test_report_options.py | 63 --- test/test_reports_api.py | 51 --- test/test_sandbox_options.py | 53 --- test/test_sandbox_start_method.py | 32 -- test/test_sandbox_timeout.py | 32 -- test/test_sbom.py | 65 --- test/test_sbom_package.py | 53 --- test/test_scheduled_task_entry.py | 64 --- test/test_scrape_third_party_config.py | 50 --- test/test_search_api.py | 58 --- test/test_section_model.py | 71 --- test/test_security_model.py | 71 --- test/test_segment_info.py | 55 --- test/test_send_message_request.py | 53 --- test/test_service_entry.py | 59 --- test/test_single_code_certificate_model.py | 61 --- test/test_single_code_signature_model.py | 69 --- test/test_single_pdb_entry_model.py | 55 --- test/test_single_section_model.py | 63 --- test/test_sse_event_context_compacted_data.py | 55 --- test/test_sse_event_run_cancelled_data.py | 55 --- test/test_sse_event_run_error_data.py | 55 --- test/test_sse_event_run_finished_data.py | 55 --- test/test_sse_event_run_started_data.py | 55 --- test/test_sse_event_step_finished_data.py | 55 --- test/test_sse_event_step_started_data.py | 55 --- ...est_sse_event_text_message_content_data.py | 55 --- test/test_sse_event_text_message_end_data.py | 55 --- .../test_sse_event_text_message_start_data.py | 55 --- test/test_sse_event_title_updated_data.py | 55 --- ...est_sse_event_tool_call_args_delta_data.py | 55 --- test/test_sse_event_tool_call_end_data.py | 55 --- test/test_sse_event_tool_call_result_data.py | 55 --- test/test_sse_event_tool_call_start_data.py | 55 --- ...e_event_tool_confirmation_required_data.py | 55 --- test/test_stack_variable.py | 60 --- test/test_startup_info.py | 56 --- test/test_status_input.py | 32 -- test/test_status_output.py | 53 --- test/test_status_response.py | 55 --- test/test_stream_events200_response_inner.py | 55 --- test/test_string_functions.py | 62 --- test/test_string_source.py | 32 -- test/test_structure.py | 70 --- test/test_structure_member.py | 58 --- test/test_submit_user_feedback_request.py | 54 --- test/test_summary_data.py | 56 --- test/test_symbols.py | 58 --- test/test_tag.py | 51 --- test/test_tag_item.py | 54 --- test/test_tag_response.py | 53 --- test/test_tag_search_response.py | 59 --- test/test_tag_search_result.py | 53 --- test/test_task_response.py | 51 --- test/test_task_status.py | 32 -- test/test_task_status_response.py | 56 --- test/test_timestamp_model.py | 55 --- test/test_tokenised_data.py | 64 --- test/test_triage_function_response.py | 63 --- test/test_triage_report_response.py | 73 --- test/test_ttp.py | 62 --- test/test_type_definition.py | 55 --- test/test_unknown_enum_value.py | 36 ++ test/test_update_function_data_types.py | 117 ----- test/test_upload_file_type.py | 32 -- test/test_upload_response.py | 55 --- ...t_upsert_ai_decomplation_rating_request.py | 53 --- test/test_upsert_overrides_data.py | 56 --- test/test_upsert_overrides_input_body.py | 56 --- test/test_user_activity_response.py | 61 --- test/test_vulnerabilities.py | 77 ---- test/test_vulnerability.py | 70 --- test/test_workflow_progress.py | 64 --- test/test_workspace.py | 32 -- test/test_xref_from_response.py | 66 --- test/test_xref_response.py | 121 ----- test/test_xref_to_response.py | 66 --- 416 files changed, 235 insertions(+), 25360 deletions(-) create mode 100644 templates/model_enum.mustache delete mode 100644 test/test_additional_details_status_response.py delete mode 100644 test/test_addr.py delete mode 100644 test/test_agent_api.py delete mode 100644 test/test_ai_decompilation_rating.py delete mode 100644 test/test_ai_decompilation_task_status.py delete mode 100644 test/test_ai_unstrip_request.py delete mode 100644 test/test_analyses_bulk_actions_api.py delete mode 100644 test/test_analyses_comments_api.py delete mode 100644 test/test_analyses_core_api.py delete mode 100644 test/test_analyses_results_metadata_api.py delete mode 100644 test/test_analyses_x_refs_api.py delete mode 100644 test/test_analysis_access_info.py delete mode 100644 test/test_analysis_bulk_add_tags_request.py delete mode 100644 test/test_analysis_bulk_add_tags_response.py delete mode 100644 test/test_analysis_bulk_add_tags_response_item.py delete mode 100644 test/test_analysis_config.py delete mode 100644 test/test_analysis_create_request.py delete mode 100644 test/test_analysis_create_response.py delete mode 100644 test/test_analysis_detail_response.py delete mode 100644 test/test_analysis_function_mapping.py delete mode 100644 test/test_analysis_function_matching_request.py delete mode 100644 test/test_analysis_functions.py delete mode 100644 test/test_analysis_functions_list.py delete mode 100644 test/test_analysis_record.py delete mode 100644 test/test_analysis_report.py delete mode 100644 test/test_analysis_scope.py delete mode 100644 test/test_analysis_string_input.py delete mode 100644 test/test_analysis_strings_response.py delete mode 100644 test/test_analysis_strings_status_response.py delete mode 100644 test/test_analysis_tags.py delete mode 100644 test/test_analysis_update_request.py delete mode 100644 test/test_analysis_update_tags_request.py delete mode 100644 test/test_analysis_update_tags_response.py delete mode 100644 test/test_api_call.py delete mode 100644 test/test_api_error.py delete mode 100644 test/test_app_api_rest_v2_agent_schema_capability.py delete mode 100644 test/test_app_api_rest_v2_analyses_enums_order_by.py delete mode 100644 test/test_app_api_rest_v2_collections_enums_order_by.py delete mode 100644 test/test_app_api_rest_v2_functions_responses_function.py delete mode 100644 test/test_app_api_rest_v2_functions_types_function.py delete mode 100644 test/test_app_api_rest_v2_info_types_capability.py delete mode 100644 test/test_argument.py delete mode 100644 test/test_authentication_users_api.py delete mode 100644 test/test_auto_run_agents.py delete mode 100644 test/test_auto_unstrip_request.py delete mode 100644 test/test_auto_unstrip_response.py delete mode 100644 test/test_base_response.py delete mode 100644 test/test_base_response_additional_details_status_response.py delete mode 100644 test/test_base_response_analysis_bulk_add_tags_response.py delete mode 100644 test/test_base_response_analysis_create_response.py delete mode 100644 test/test_base_response_analysis_detail_response.py delete mode 100644 test/test_base_response_analysis_function_mapping.py delete mode 100644 test/test_base_response_analysis_functions.py delete mode 100644 test/test_base_response_analysis_functions_list.py delete mode 100644 test/test_base_response_analysis_strings_response.py delete mode 100644 test/test_base_response_analysis_strings_status_response.py delete mode 100644 test/test_base_response_analysis_tags.py delete mode 100644 test/test_base_response_analysis_update_tags_response.py delete mode 100644 test/test_base_response_basic.py delete mode 100644 test/test_base_response_binaries_related_status_response.py delete mode 100644 test/test_base_response_binary_additional_response.py delete mode 100644 test/test_base_response_binary_details_response.py delete mode 100644 test/test_base_response_binary_externals_response.py delete mode 100644 test/test_base_response_binary_search_response.py delete mode 100644 test/test_base_response_bool.py delete mode 100644 test/test_base_response_callees_caller_functions_response.py delete mode 100644 test/test_base_response_capabilities.py delete mode 100644 test/test_base_response_capabilities_agent_response.py delete mode 100644 test/test_base_response_child_binaries_response.py delete mode 100644 test/test_base_response_collection_binaries_update_response.py delete mode 100644 test/test_base_response_collection_response.py delete mode 100644 test/test_base_response_collection_search_response.py delete mode 100644 test/test_base_response_collection_tags_update_response.py delete mode 100644 test/test_base_response_comment_response.py delete mode 100644 test/test_base_response_config_response.py delete mode 100644 test/test_base_response_created.py delete mode 100644 test/test_base_response_dict.py delete mode 100644 test/test_base_response_external_response.py delete mode 100644 test/test_base_response_function_blocks_response.py delete mode 100644 test/test_base_response_function_capability_response.py delete mode 100644 test/test_base_response_function_data_types.py delete mode 100644 test/test_base_response_function_data_types_list.py delete mode 100644 test/test_base_response_function_search_response.py delete mode 100644 test/test_base_response_function_strings_response.py delete mode 100644 test/test_base_response_function_task_response.py delete mode 100644 test/test_base_response_functions_detail_response.py delete mode 100644 test/test_base_response_generate_function_data_types.py delete mode 100644 test/test_base_response_generation_status_list.py delete mode 100644 test/test_base_response_get_ai_decompilation_task.py delete mode 100644 test/test_base_response_get_me_response.py delete mode 100644 test/test_base_response_get_public_user_response.py delete mode 100644 test/test_base_response_list_callees_caller_functions_response.py delete mode 100644 test/test_base_response_list_collection_results.py delete mode 100644 test/test_base_response_list_comment_response.py delete mode 100644 test/test_base_response_list_die_match.py delete mode 100644 test/test_base_response_list_function_name_history.py delete mode 100644 test/test_base_response_list_sbom.py delete mode 100644 test/test_base_response_list_user_activity_response.py delete mode 100644 test/test_base_response_logs.py delete mode 100644 test/test_base_response_models_response.py delete mode 100644 test/test_base_response_params.py delete mode 100644 test/test_base_response_queued_workflow_task_response.py delete mode 100644 test/test_base_response_recent.py delete mode 100644 test/test_base_response_report_analysis_response.py delete mode 100644 test/test_base_response_status.py delete mode 100644 test/test_base_response_str.py delete mode 100644 test/test_base_response_tag_search_response.py delete mode 100644 test/test_base_response_task_response.py delete mode 100644 test/test_base_response_task_status_response.py delete mode 100644 test/test_base_response_triage_report_response.py delete mode 100644 test/test_base_response_union_get_ai_decompilation_rating_response_none_type.py delete mode 100644 test/test_base_response_upload_response.py delete mode 100644 test/test_base_response_vulnerabilities.py delete mode 100644 test/test_base_response_xref_response.py delete mode 100644 test/test_basic.py delete mode 100644 test/test_binaries_api.py delete mode 100644 test/test_binaries_related_status_response.py delete mode 100644 test/test_binaries_task_status.py delete mode 100644 test/test_binary_additional_details_data_response.py delete mode 100644 test/test_binary_additional_response.py delete mode 100644 test/test_binary_config.py delete mode 100644 test/test_binary_details_response.py delete mode 100644 test/test_binary_externals_response.py delete mode 100644 test/test_binary_search_response.py delete mode 100644 test/test_binary_search_result.py delete mode 100644 test/test_binary_task_status.py delete mode 100644 test/test_bulk_delete_analyses_request.py delete mode 100644 test/test_callee_function_info.py delete mode 100644 test/test_callees_caller_functions_response.py delete mode 100644 test/test_caller_function_info.py delete mode 100644 test/test_capabilities.py delete mode 100644 test/test_capabilities_agent_response.py delete mode 100644 test/test_child_binaries_response.py delete mode 100644 test/test_code_signature_model.py delete mode 100644 test/test_collection_binaries_update_request.py delete mode 100644 test/test_collection_binaries_update_response.py delete mode 100644 test/test_collection_binary_response.py delete mode 100644 test/test_collection_create_request.py delete mode 100644 test/test_collection_list_item.py delete mode 100644 test/test_collection_response.py delete mode 100644 test/test_collection_response_binaries_inner.py delete mode 100644 test/test_collection_scope.py delete mode 100644 test/test_collection_search_response.py delete mode 100644 test/test_collection_search_result.py delete mode 100644 test/test_collection_tags_update_request.py delete mode 100644 test/test_collection_tags_update_response.py delete mode 100644 test/test_collection_update_request.py delete mode 100644 test/test_collections_api.py delete mode 100644 test/test_comment_base.py delete mode 100644 test/test_comment_response.py delete mode 100644 test/test_comment_update_request.py delete mode 100644 test/test_comments_data.py delete mode 100644 test/test_config_api.py delete mode 100644 test/test_config_response.py delete mode 100644 test/test_confirm_tool_input_body.py delete mode 100644 test/test_connection.py delete mode 100644 test/test_context.py delete mode 100644 test/test_conversation.py delete mode 100644 test/test_conversation_context.py delete mode 100644 test/test_conversation_with_events.py delete mode 100644 test/test_conversations_api.py delete mode 100644 test/test_create_ai_decomp_output_body.py delete mode 100644 test/test_create_conversation_request.py delete mode 100644 test/test_created.py delete mode 100644 test/test_decompilation_comment_context.py delete mode 100644 test/test_decompilation_data.py delete mode 100644 test/test_die_match.py delete mode 100644 test/test_dns_query.py delete mode 100644 test/test_drakvuf_file_metadata.py delete mode 100644 test/test_dynamic_execution_status.py delete mode 100644 test/test_dynamic_execution_status_response.py delete mode 100644 test/test_elf_dynamic_entry.py delete mode 100644 test/test_elf_import_model.py delete mode 100644 test/test_elf_model.py delete mode 100644 test/test_elf_relocation.py delete mode 100644 test/test_elf_section.py delete mode 100644 test/test_elf_security.py delete mode 100644 test/test_elf_segment.py delete mode 100644 test/test_elf_symbol.py delete mode 100644 test/test_entrypoint_model.py delete mode 100644 test/test_enumeration.py delete mode 100644 test/test_error_body.py delete mode 100644 test/test_error_model.py delete mode 100644 test/test_event.py delete mode 100644 test/test_event_contextcompacted.py delete mode 100644 test/test_event_runcancelled.py delete mode 100644 test/test_event_runerror.py delete mode 100644 test/test_event_runfinished.py delete mode 100644 test/test_event_runstarted.py delete mode 100644 test/test_event_stepfinished.py delete mode 100644 test/test_event_stepstarted.py delete mode 100644 test/test_event_textmessagecontent.py delete mode 100644 test/test_event_textmessageend.py delete mode 100644 test/test_event_textmessagestart.py delete mode 100644 test/test_event_titleupdated.py delete mode 100644 test/test_event_toolcallargsdelta.py delete mode 100644 test/test_event_toolcallend.py delete mode 100644 test/test_event_toolcallresult.py delete mode 100644 test/test_event_toolcallstart.py delete mode 100644 test/test_event_toolconfirmationrequired.py delete mode 100644 test/test_export_model.py delete mode 100644 test/test_external_response.py delete mode 100644 test/test_external_sources_api.py delete mode 100644 test/test_extracted_url.py delete mode 100644 test/test_file_activity_entry.py delete mode 100644 test/test_file_format.py delete mode 100644 test/test_file_hashes.py delete mode 100644 test/test_file_metadata.py delete mode 100644 test/test_filters.py delete mode 100644 test/test_firmware_api.py delete mode 100644 test/test_function_block_destination_response.py delete mode 100644 test/test_function_block_response.py delete mode 100644 test/test_function_blocks_response.py delete mode 100644 test/test_function_boundary.py delete mode 100644 test/test_function_capability_response.py delete mode 100644 test/test_function_comment_create_request.py delete mode 100644 test/test_function_data_types.py delete mode 100644 test/test_function_data_types_list.py delete mode 100644 test/test_function_data_types_list_item.py delete mode 100644 test/test_function_data_types_params.py delete mode 100644 test/test_function_data_types_status.py delete mode 100644 test/test_function_header.py delete mode 100644 test/test_function_info_input.py delete mode 100644 test/test_function_info_input_func_deps_inner.py delete mode 100644 test/test_function_info_output.py delete mode 100644 test/test_function_list_item.py delete mode 100644 test/test_function_local_variable_response.py delete mode 100644 test/test_function_mapping.py delete mode 100644 test/test_function_mapping_full.py delete mode 100644 test/test_function_match.py delete mode 100644 test/test_function_matching_filters.py delete mode 100644 test/test_function_matching_request.py delete mode 100644 test/test_function_matching_response.py delete mode 100644 test/test_function_name_history.py delete mode 100644 test/test_function_param_response.py delete mode 100644 test/test_function_rename.py delete mode 100644 test/test_function_rename_map.py delete mode 100644 test/test_function_search_response.py delete mode 100644 test/test_function_search_result.py delete mode 100644 test/test_function_source_type.py delete mode 100644 test/test_function_string.py delete mode 100644 test/test_function_strings_response.py delete mode 100644 test/test_function_task_response.py delete mode 100644 test/test_function_task_status.py delete mode 100644 test/test_function_type_input.py delete mode 100644 test/test_function_type_output.py delete mode 100644 test/test_functions_ai_decompilation_api.py delete mode 100644 test/test_functions_core_api.py delete mode 100644 test/test_functions_data_types_api.py delete mode 100644 test/test_functions_detail_response.py delete mode 100644 test/test_functions_list_rename.py delete mode 100644 test/test_functions_renaming_history_api.py delete mode 100644 test/test_generate_function_data_types.py delete mode 100644 test/test_generate_pdf_output_body.py delete mode 100644 test/test_generation_status_list.py delete mode 100644 test/test_get_ai_decompilation_rating_response.py delete mode 100644 test/test_get_ai_decompilation_task.py delete mode 100644 test/test_get_me_response.py delete mode 100644 test/test_get_public_user_response.py delete mode 100644 test/test_global_variable.py delete mode 100644 test/test_http_request.py delete mode 100644 test/test_icon_model.py delete mode 100644 test/test_import_model.py delete mode 100644 test/test_inline_comment.py delete mode 100644 test/test_insert_analysis_log_request.py delete mode 100644 test/test_inverse_function_map_item.py delete mode 100644 test/test_inverse_string_map_item.py delete mode 100644 test/test_inverse_value.py delete mode 100644 test/test_ioc.py delete mode 100644 test/test_isa.py delete mode 100644 test/test_list_collection_results.py delete mode 100644 test/test_logs.py delete mode 100644 test/test_matched_function.py delete mode 100644 test/test_matched_function_suggestion.py delete mode 100644 test/test_memdump_entry.py delete mode 100644 test/test_meta_model.py delete mode 100644 test/test_mitre_technique.py delete mode 100644 test/test_model_name.py delete mode 100644 test/test_models_api.py delete mode 100644 test/test_models_response.py delete mode 100644 test/test_module_load_entry.py delete mode 100644 test/test_mutex_entry.py delete mode 100644 test/test_name_confidence.py delete mode 100644 test/test_name_source_type.py delete mode 100644 test/test_network_activity.py delete mode 100644 test/test_numeric_addr.py delete mode 100644 test/test_order.py delete mode 100644 test/test_pagination_model.py delete mode 100644 test/test_params.py delete mode 100644 test/test_pdb_debug_model.py delete mode 100644 test/test_pe_model.py delete mode 100644 test/test_platform.py delete mode 100644 test/test_process_activity_entry.py delete mode 100644 test/test_process_memdumps.py delete mode 100644 test/test_process_node.py delete mode 100644 test/test_process_tree.py delete mode 100644 test/test_progress_message.py delete mode 100644 test/test_put_analysis_strings_request.py delete mode 100644 test/test_queue_position_response.py delete mode 100644 test/test_queued_workflow_task_response.py delete mode 100644 test/test_re_analysis_form.py delete mode 100644 test/test_recent.py delete mode 100644 test/test_regenerate_output_body.py delete mode 100644 test/test_regenerate_target.py delete mode 100644 test/test_registry_operation.py delete mode 100644 test/test_relative_binary_response.py delete mode 100644 test/test_replacement_value.py delete mode 100644 test/test_report_analysis_response.py delete mode 100644 test/test_report_event.py delete mode 100644 test/test_report_info.py delete mode 100644 test/test_report_options.py delete mode 100644 test/test_reports_api.py delete mode 100644 test/test_sandbox_options.py delete mode 100644 test/test_sandbox_start_method.py delete mode 100644 test/test_sandbox_timeout.py delete mode 100644 test/test_sbom.py delete mode 100644 test/test_sbom_package.py delete mode 100644 test/test_scheduled_task_entry.py delete mode 100644 test/test_scrape_third_party_config.py delete mode 100644 test/test_search_api.py delete mode 100644 test/test_section_model.py delete mode 100644 test/test_security_model.py delete mode 100644 test/test_segment_info.py delete mode 100644 test/test_send_message_request.py delete mode 100644 test/test_service_entry.py delete mode 100644 test/test_single_code_certificate_model.py delete mode 100644 test/test_single_code_signature_model.py delete mode 100644 test/test_single_pdb_entry_model.py delete mode 100644 test/test_single_section_model.py delete mode 100644 test/test_sse_event_context_compacted_data.py delete mode 100644 test/test_sse_event_run_cancelled_data.py delete mode 100644 test/test_sse_event_run_error_data.py delete mode 100644 test/test_sse_event_run_finished_data.py delete mode 100644 test/test_sse_event_run_started_data.py delete mode 100644 test/test_sse_event_step_finished_data.py delete mode 100644 test/test_sse_event_step_started_data.py delete mode 100644 test/test_sse_event_text_message_content_data.py delete mode 100644 test/test_sse_event_text_message_end_data.py delete mode 100644 test/test_sse_event_text_message_start_data.py delete mode 100644 test/test_sse_event_title_updated_data.py delete mode 100644 test/test_sse_event_tool_call_args_delta_data.py delete mode 100644 test/test_sse_event_tool_call_end_data.py delete mode 100644 test/test_sse_event_tool_call_result_data.py delete mode 100644 test/test_sse_event_tool_call_start_data.py delete mode 100644 test/test_sse_event_tool_confirmation_required_data.py delete mode 100644 test/test_stack_variable.py delete mode 100644 test/test_startup_info.py delete mode 100644 test/test_status_input.py delete mode 100644 test/test_status_output.py delete mode 100644 test/test_status_response.py delete mode 100644 test/test_stream_events200_response_inner.py delete mode 100644 test/test_string_functions.py delete mode 100644 test/test_string_source.py delete mode 100644 test/test_structure.py delete mode 100644 test/test_structure_member.py delete mode 100644 test/test_submit_user_feedback_request.py delete mode 100644 test/test_summary_data.py delete mode 100644 test/test_symbols.py delete mode 100644 test/test_tag.py delete mode 100644 test/test_tag_item.py delete mode 100644 test/test_tag_response.py delete mode 100644 test/test_tag_search_response.py delete mode 100644 test/test_tag_search_result.py delete mode 100644 test/test_task_response.py delete mode 100644 test/test_task_status.py delete mode 100644 test/test_task_status_response.py delete mode 100644 test/test_timestamp_model.py delete mode 100644 test/test_tokenised_data.py delete mode 100644 test/test_triage_function_response.py delete mode 100644 test/test_triage_report_response.py delete mode 100644 test/test_ttp.py delete mode 100644 test/test_type_definition.py create mode 100644 test/test_unknown_enum_value.py delete mode 100644 test/test_update_function_data_types.py delete mode 100644 test/test_upload_file_type.py delete mode 100644 test/test_upload_response.py delete mode 100644 test/test_upsert_ai_decomplation_rating_request.py delete mode 100644 test/test_upsert_overrides_data.py delete mode 100644 test/test_upsert_overrides_input_body.py delete mode 100644 test/test_user_activity_response.py delete mode 100644 test/test_vulnerabilities.py delete mode 100644 test/test_vulnerability.py delete mode 100644 test/test_workflow_progress.py delete mode 100644 test/test_workspace.py delete mode 100644 test/test_xref_from_response.py delete mode 100644 test/test_xref_response.py delete mode 100644 test/test_xref_to_response.py diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 6fff5638..4682bf5b 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -113,10 +113,11 @@ jobs: env: OPENAPI_VERSION: ${{ steps.version_check.outputs.openapi_version }} run: | - # Move generated files to the correct locations and clean up + # Move generated files to the correct locations and clean up. + # Tests are intentionally not regenerated (apiTests/modelTests are disabled); + # the manual tests under test/ are preserved across SDK updates. rm -Rf docs && mv python-client/docs . rm -Rf revengai && mv python-client/revengai . - rm -Rf test && mv python-client/test . rm -Rf README.md && mv python-client/README.md . rm -Rf python-client diff --git a/.gitignore b/.gitignore index 9d0b7699..b4f24840 100644 --- a/.gitignore +++ b/.gitignore @@ -65,4 +65,6 @@ target/ .ipynb_checkpoints .idea -.openapi-generator \ No newline at end of file +.openapi-generator +# Templates +out diff --git a/config.yml b/config.yml index de1739f3..6ce13357 100644 --- a/config.yml +++ b/config.yml @@ -1,3 +1,4 @@ packageName: revengai packageUrl: https://github.com/RevEngAI/sdk-python -generateSourceCodeOnly: false \ No newline at end of file +generateSourceCodeOnly: false +enumUnknownDefaultCase: true diff --git a/revengai/models/ai_decompilation_rating.py b/revengai/models/ai_decompilation_rating.py index 694f9e1b..c0a578b9 100644 --- a/revengai/models/ai_decompilation_rating.py +++ b/revengai/models/ai_decompilation_rating.py @@ -28,10 +28,16 @@ class AiDecompilationRating(str, Enum): POSITIVE = 'POSITIVE' NEGATIVE = 'NEGATIVE' NEUTRAL = 'NEUTRAL' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of AiDecompilationRating from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/ai_decompilation_task_status.py b/revengai/models/ai_decompilation_task_status.py index 513e9fd2..6119af90 100644 --- a/revengai/models/ai_decompilation_task_status.py +++ b/revengai/models/ai_decompilation_task_status.py @@ -29,10 +29,16 @@ class AiDecompilationTaskStatus(str, Enum): ERROR = 'error' PENDING = 'pending' SUCCESS = 'success' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of AiDecompilationTaskStatus from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/analysis_scope.py b/revengai/models/analysis_scope.py index 81920273..299844c6 100644 --- a/revengai/models/analysis_scope.py +++ b/revengai/models/analysis_scope.py @@ -27,10 +27,16 @@ class AnalysisScope(str, Enum): """ PRIVATE = 'PRIVATE' PUBLIC = 'PUBLIC' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of AnalysisScope from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/app_api_rest_v2_analyses_enums_order_by.py b/revengai/models/app_api_rest_v2_analyses_enums_order_by.py index 61047166..a26f8f7f 100644 --- a/revengai/models/app_api_rest_v2_analyses_enums_order_by.py +++ b/revengai/models/app_api_rest_v2_analyses_enums_order_by.py @@ -28,10 +28,16 @@ class AppApiRestV2AnalysesEnumsOrderBy(str, Enum): CREATED = 'created' NAME = 'name' SIZE = 'size' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of AppApiRestV2AnalysesEnumsOrderBy from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/app_api_rest_v2_collections_enums_order_by.py b/revengai/models/app_api_rest_v2_collections_enums_order_by.py index 81ade33f..bbac0a49 100644 --- a/revengai/models/app_api_rest_v2_collections_enums_order_by.py +++ b/revengai/models/app_api_rest_v2_collections_enums_order_by.py @@ -31,10 +31,16 @@ class AppApiRestV2CollectionsEnumsOrderBy(str, Enum): OWNER = 'owner' COLLECTION_SIZE = 'collection_size' UPDATED = 'updated' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of AppApiRestV2CollectionsEnumsOrderBy from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/binaries_task_status.py b/revengai/models/binaries_task_status.py index 68c67104..89ee44ed 100644 --- a/revengai/models/binaries_task_status.py +++ b/revengai/models/binaries_task_status.py @@ -30,10 +30,16 @@ class BinariesTaskStatus(str, Enum): RUNNING = 'RUNNING' COMPLETED = 'COMPLETED' FAILED = 'FAILED' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of BinariesTaskStatus from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/binary_task_status.py b/revengai/models/binary_task_status.py index c6b9c4bf..52bdfc5e 100644 --- a/revengai/models/binary_task_status.py +++ b/revengai/models/binary_task_status.py @@ -30,10 +30,16 @@ class BinaryTaskStatus(str, Enum): RUNNING = 'RUNNING' COMPLETED = 'COMPLETED' FAILED = 'FAILED' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of BinaryTaskStatus from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/collection_scope.py b/revengai/models/collection_scope.py index 27578d8b..d7fd5272 100644 --- a/revengai/models/collection_scope.py +++ b/revengai/models/collection_scope.py @@ -29,10 +29,16 @@ class CollectionScope(str, Enum): PUBLIC = 'PUBLIC' PROTECTED = 'PROTECTED' TEAM = 'TEAM' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of CollectionScope from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/dynamic_execution_status.py b/revengai/models/dynamic_execution_status.py index 26c75f21..79856129 100644 --- a/revengai/models/dynamic_execution_status.py +++ b/revengai/models/dynamic_execution_status.py @@ -29,10 +29,16 @@ class DynamicExecutionStatus(str, Enum): ERROR = 'ERROR' SUCCESS = 'SUCCESS' ALL = 'ALL' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of DynamicExecutionStatus from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/file_format.py b/revengai/models/file_format.py index 68567259..69991b05 100644 --- a/revengai/models/file_format.py +++ b/revengai/models/file_format.py @@ -28,10 +28,16 @@ class FileFormat(str, Enum): PE = 'pe' ELF = 'elf' BLOB = 'blob' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of FileFormat from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/filters.py b/revengai/models/filters.py index 42cd9b55..25ea8850 100644 --- a/revengai/models/filters.py +++ b/revengai/models/filters.py @@ -30,10 +30,16 @@ class Filters(str, Enum): TEAM_ONLY = 'team_only' PUBLIC_ONLY = 'public_only' HIDE_EMPTY = 'hide_empty' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of Filters from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/function_source_type.py b/revengai/models/function_source_type.py index bea48854..58b9fdb2 100644 --- a/revengai/models/function_source_type.py +++ b/revengai/models/function_source_type.py @@ -30,10 +30,16 @@ class FunctionSourceType(str, Enum): EXTERNAL = 'EXTERNAL' AUTO_UNSTRIP = 'AUTO_UNSTRIP' AI_UNSTRIP = 'AI_UNSTRIP' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of FunctionSourceType from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/function_task_status.py b/revengai/models/function_task_status.py index 827985ba..3358b825 100644 --- a/revengai/models/function_task_status.py +++ b/revengai/models/function_task_status.py @@ -30,10 +30,16 @@ class FunctionTaskStatus(str, Enum): RUNNING = 'RUNNING' COMPLETED = 'COMPLETED' FAILED = 'FAILED' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of FunctionTaskStatus from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/isa.py b/revengai/models/isa.py index ed5bc45f..2292b45c 100644 --- a/revengai/models/isa.py +++ b/revengai/models/isa.py @@ -28,10 +28,16 @@ class ISA(str, Enum): X86 = 'x86' X86_64 = 'x86_64' ARM = 'arm' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of ISA from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/model_name.py b/revengai/models/model_name.py index 40f1dd4a..cb941d1e 100644 --- a/revengai/models/model_name.py +++ b/revengai/models/model_name.py @@ -34,10 +34,16 @@ class ModelName(str, Enum): BINNET_MINUS_0_DOT_7_MINUS_X86_MINUS_64_MINUS_ANDROID = 'binnet-0.7-x86-64-android' BINNET_MINUS_0_DOT_7_MINUS_X86_MINUS_32_MINUS_ANDROID = 'binnet-0.7-x86-32-android' BINNET_MINUS_0_DOT_7_MINUS_ARM_MINUS_64_MINUS_ANDROID = 'binnet-0.7-arm-64-android' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of ModelName from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/order.py b/revengai/models/order.py index 1f7b51d9..f68aa615 100644 --- a/revengai/models/order.py +++ b/revengai/models/order.py @@ -27,10 +27,16 @@ class Order(str, Enum): """ ASC = 'ASC' DESC = 'DESC' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of Order from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/platform.py b/revengai/models/platform.py index 8bc17b55..704c8a08 100644 --- a/revengai/models/platform.py +++ b/revengai/models/platform.py @@ -28,10 +28,16 @@ class Platform(str, Enum): LINUX = 'linux' WINDOWS = 'windows' ANDROID = 'android' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of Platform from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/regenerate_target.py b/revengai/models/regenerate_target.py index 11430037..0e411ce0 100644 --- a/revengai/models/regenerate_target.py +++ b/revengai/models/regenerate_target.py @@ -27,10 +27,16 @@ class RegenerateTarget(str, Enum): """ SUMMARY = 'summary' COMMENTS = 'comments' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of RegenerateTarget from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/sandbox_start_method.py b/revengai/models/sandbox_start_method.py index fa9f71e5..d35b88cb 100644 --- a/revengai/models/sandbox_start_method.py +++ b/revengai/models/sandbox_start_method.py @@ -27,10 +27,16 @@ class SandboxStartMethod(str, Enum): """ STANDARD_USER_PROCESS = 'standard_user_process' ADMINISTRATOR_PROCESS = 'administrator_process' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of SandboxStartMethod from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/sandbox_timeout.py b/revengai/models/sandbox_timeout.py index 154f9e05..d3d3301d 100644 --- a/revengai/models/sandbox_timeout.py +++ b/revengai/models/sandbox_timeout.py @@ -29,10 +29,16 @@ class SandboxTimeout(int, Enum): NUMBER_180 = 180 NUMBER_300 = 300 NUMBER_600 = 600 + NUMBER_11184809 = 11184809 @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of SandboxTimeout from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/status_input.py b/revengai/models/status_input.py index 4435dcbf..f2f9b7ae 100644 --- a/revengai/models/status_input.py +++ b/revengai/models/status_input.py @@ -31,10 +31,16 @@ class StatusInput(str, Enum): ERROR = 'Error' PROCESSING = 'Processing' ALL = 'All' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of StatusInput from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/string_source.py b/revengai/models/string_source.py index 5fbdc5e9..03c1696f 100644 --- a/revengai/models/string_source.py +++ b/revengai/models/string_source.py @@ -28,10 +28,16 @@ class StringSource(str, Enum): SYSTEM = 'SYSTEM' USER = 'USER' AI_AGENT = 'AI_AGENT' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of StringSource from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/task_status.py b/revengai/models/task_status.py index 634ddeb7..833e682f 100644 --- a/revengai/models/task_status.py +++ b/revengai/models/task_status.py @@ -30,10 +30,16 @@ class TaskStatus(str, Enum): RUNNING = 'RUNNING' COMPLETED = 'COMPLETED' FAILED = 'FAILED' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of TaskStatus from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/upload_file_type.py b/revengai/models/upload_file_type.py index ea7e9d6c..def5fb96 100644 --- a/revengai/models/upload_file_type.py +++ b/revengai/models/upload_file_type.py @@ -29,10 +29,16 @@ class UploadFileType(str, Enum): DEBUG = 'DEBUG' PACKED = 'PACKED' FIRMWARE = 'FIRMWARE' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of UploadFileType from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/revengai/models/workspace.py b/revengai/models/workspace.py index 35a5aab3..60b4e4de 100644 --- a/revengai/models/workspace.py +++ b/revengai/models/workspace.py @@ -28,10 +28,16 @@ class Workspace(str, Enum): PERSONAL = 'personal' TEAM = 'team' PUBLIC = 'public' + UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api' @classmethod def from_json(cls, json_str: str) -> Self: """Create an instance of Workspace from a JSON string""" return cls(json.loads(json_str)) + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + diff --git a/templates/model_enum.mustache b/templates/model_enum.mustache new file mode 100644 index 00000000..a55823c3 --- /dev/null +++ b/templates/model_enum.mustache @@ -0,0 +1,41 @@ +from __future__ import annotations +import json +from enum import Enum +{{#vendorExtensions.x-py-other-imports}} +{{{.}}} +{{/vendorExtensions.x-py-other-imports}} +from typing_extensions import Self + + +class {{classname}}({{vendorExtensions.x-py-enum-type}}, Enum): + """ + {{{description}}}{{^description}}{{{classname}}}{{/description}} + """ + + """ + allowed enum values + """ +{{#allowableValues}} + {{#enumVars}} + {{{name}}} = {{{value}}} + {{/enumVars}} + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of {{classname}} from a JSON string""" + return cls(json.loads(json_str)) + + @classmethod + def _missing_(cls, value): + """Fall back to the unknown default for values not defined in the SDK.""" + return cls.__members__.get("UNKNOWN_DEFAULT_OPEN_API") + + {{#defaultValue}} + + # + @classmethod + def _missing_value_(cls, value): + if value is no_arg: + return cls.{{{.}}} + {{/defaultValue}} +{{/allowableValues}} diff --git a/test/test_additional_details_status_response.py b/test/test_additional_details_status_response.py deleted file mode 100644 index 7903ee0c..00000000 --- a/test/test_additional_details_status_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.additional_details_status_response import AdditionalDetailsStatusResponse - -class TestAdditionalDetailsStatusResponse(unittest.TestCase): - """AdditionalDetailsStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdditionalDetailsStatusResponse: - """Test AdditionalDetailsStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdditionalDetailsStatusResponse` - """ - model = AdditionalDetailsStatusResponse() - if include_optional: - return AdditionalDetailsStatusResponse( - status = '' - ) - else: - return AdditionalDetailsStatusResponse( - status = '', - ) - """ - - def testAdditionalDetailsStatusResponse(self): - """Test AdditionalDetailsStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_addr.py b/test/test_addr.py deleted file mode 100644 index cfbc2f4c..00000000 --- a/test/test_addr.py +++ /dev/null @@ -1,49 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.addr import Addr - -class TestAddr(unittest.TestCase): - """Addr unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Addr: - """Test Addr - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Addr` - """ - model = Addr() - if include_optional: - return Addr( - ) - else: - return Addr( - ) - """ - - def testAddr(self): - """Test Addr""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_agent_api.py b/test/test_agent_api.py deleted file mode 100644 index ca768404..00000000 --- a/test/test_agent_api.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.agent_api import AgentApi - - -class TestAgentApi(unittest.TestCase): - """AgentApi unit test stubs""" - - def setUp(self) -> None: - self.api = AgentApi() - - def tearDown(self) -> None: - pass - - def test_check_capabilities_task_status_v2_analyses_analysis_id_agent_capabilities_status_get(self) -> None: - """Test case for check_capabilities_task_status_v2_analyses_analysis_id_agent_capabilities_status_get - - Check the status of a capabilities analysis workflow - """ - pass - - def test_check_report_analysis_task_status_v2_analyses_analysis_id_agent_report_analysis_status_get(self) -> None: - """Test case for check_report_analysis_task_status_v2_analyses_analysis_id_agent_report_analysis_status_get - - Check the status of a report analysis workflow - """ - pass - - def test_check_triage_task_status_v2_analyses_analysis_id_agent_triage_status_get(self) -> None: - """Test case for check_triage_task_status_v2_analyses_analysis_id_agent_triage_status_get - - Check the status of a triage analysis workflow - """ - pass - - def test_create_capabilities_task_v2_analyses_analysis_id_agent_capabilities_post(self) -> None: - """Test case for create_capabilities_task_v2_analyses_analysis_id_agent_capabilities_post - - Queues a capabilities analysis workflow process - """ - pass - - def test_create_report_analysis_task_v2_analyses_analysis_id_agent_report_analysis_post(self) -> None: - """Test case for create_report_analysis_task_v2_analyses_analysis_id_agent_report_analysis_post - - Queues a combined report analysis workflow process - """ - pass - - def test_create_triage_task_v2_analyses_analysis_id_agent_triage_post(self) -> None: - """Test case for create_triage_task_v2_analyses_analysis_id_agent_triage_post - - Queues a triage analysis workflow process - """ - pass - - def test_get_capabilities_result_v2_analyses_analysis_id_agent_capabilities_get(self) -> None: - """Test case for get_capabilities_result_v2_analyses_analysis_id_agent_capabilities_get - - Get Capabilities Result - """ - pass - - def test_get_report_analysis_result_v2_analyses_analysis_id_agent_report_analysis_get(self) -> None: - """Test case for get_report_analysis_result_v2_analyses_analysis_id_agent_report_analysis_get - - Get Report Analysis Result - """ - pass - - def test_get_triage_result_v2_analyses_analysis_id_agent_triage_get(self) -> None: - """Test case for get_triage_result_v2_analyses_analysis_id_agent_triage_get - - Get Triage Result - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ai_decompilation_rating.py b/test/test_ai_decompilation_rating.py deleted file mode 100644 index 1a7018ec..00000000 --- a/test/test_ai_decompilation_rating.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.ai_decompilation_rating import AiDecompilationRating - -class TestAiDecompilationRating(unittest.TestCase): - """AiDecompilationRating unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAiDecompilationRating(self): - """Test AiDecompilationRating""" - # inst = AiDecompilationRating() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ai_decompilation_task_status.py b/test/test_ai_decompilation_task_status.py deleted file mode 100644 index 708fd3cb..00000000 --- a/test/test_ai_decompilation_task_status.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.ai_decompilation_task_status import AiDecompilationTaskStatus - -class TestAiDecompilationTaskStatus(unittest.TestCase): - """AiDecompilationTaskStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAiDecompilationTaskStatus(self): - """Test AiDecompilationTaskStatus""" - # inst = AiDecompilationTaskStatus() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ai_unstrip_request.py b/test/test_ai_unstrip_request.py deleted file mode 100644 index 58fca910..00000000 --- a/test/test_ai_unstrip_request.py +++ /dev/null @@ -1,50 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.ai_unstrip_request import AiUnstripRequest - -class TestAiUnstripRequest(unittest.TestCase): - """AiUnstripRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AiUnstripRequest: - """Test AiUnstripRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AiUnstripRequest` - """ - model = AiUnstripRequest() - if include_optional: - return AiUnstripRequest( - apply = True - ) - else: - return AiUnstripRequest( - ) - """ - - def testAiUnstripRequest(self): - """Test AiUnstripRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analyses_bulk_actions_api.py b/test/test_analyses_bulk_actions_api.py deleted file mode 100644 index 065dff63..00000000 --- a/test/test_analyses_bulk_actions_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.analyses_bulk_actions_api import AnalysesBulkActionsApi - - -class TestAnalysesBulkActionsApi(unittest.TestCase): - """AnalysesBulkActionsApi unit test stubs""" - - def setUp(self) -> None: - self.api = AnalysesBulkActionsApi() - - def tearDown(self) -> None: - pass - - def test_bulk_add_analysis_tags(self) -> None: - """Test case for bulk_add_analysis_tags - - Bulk Add Analysis Tags - """ - pass - - def test_bulk_delete_analyses(self) -> None: - """Test case for bulk_delete_analyses - - Bulk Delete Analyses - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analyses_comments_api.py b/test/test_analyses_comments_api.py deleted file mode 100644 index e8d5d164..00000000 --- a/test/test_analyses_comments_api.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.analyses_comments_api import AnalysesCommentsApi - - -class TestAnalysesCommentsApi(unittest.TestCase): - """AnalysesCommentsApi unit test stubs""" - - def setUp(self) -> None: - self.api = AnalysesCommentsApi() - - def tearDown(self) -> None: - pass - - def test_create_analysis_comment(self) -> None: - """Test case for create_analysis_comment - - Create a comment for this analysis - """ - pass - - def test_delete_analysis_comment(self) -> None: - """Test case for delete_analysis_comment - - Delete a comment - """ - pass - - def test_get_analysis_comments(self) -> None: - """Test case for get_analysis_comments - - Get comments for this analysis - """ - pass - - def test_update_analysis_comment(self) -> None: - """Test case for update_analysis_comment - - Update a comment - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analyses_core_api.py b/test/test_analyses_core_api.py deleted file mode 100644 index ffe2422c..00000000 --- a/test/test_analyses_core_api.py +++ /dev/null @@ -1,142 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.analyses_core_api import AnalysesCoreApi - - -class TestAnalysesCoreApi(unittest.TestCase): - """AnalysesCoreApi unit test stubs""" - - def setUp(self) -> None: - self.api = AnalysesCoreApi() - - def tearDown(self) -> None: - pass - - def test_create_analysis(self) -> None: - """Test case for create_analysis - - Create Analysis - """ - pass - - def test_delete_analysis(self) -> None: - """Test case for delete_analysis - - Delete Analysis - """ - pass - - def test_get_analysis_basic_info(self) -> None: - """Test case for get_analysis_basic_info - - Gets basic analysis information - """ - pass - - def test_get_analysis_function_map(self) -> None: - """Test case for get_analysis_function_map - - Get Analysis Function Map - """ - pass - - def test_get_analysis_logs(self) -> None: - """Test case for get_analysis_logs - - Gets the logs of an analysis - """ - pass - - def test_get_analysis_params(self) -> None: - """Test case for get_analysis_params - - Gets analysis param information - """ - pass - - def test_get_analysis_queue_position(self) -> None: - """Test case for get_analysis_queue_position - - Get the queue position of an analysis - """ - pass - - def test_get_analysis_status(self) -> None: - """Test case for get_analysis_status - - Gets the status of an analysis - """ - pass - - def test_insert_analysis_log(self) -> None: - """Test case for insert_analysis_log - - Insert a log entry for an analysis - """ - pass - - def test_list_analyses(self) -> None: - """Test case for list_analyses - - Gets the most recent analyses - """ - pass - - def test_lookup_binary_id(self) -> None: - """Test case for lookup_binary_id - - Gets the analysis ID from binary ID - """ - pass - - def test_put_analysis_strings(self) -> None: - """Test case for put_analysis_strings - - Add strings to the analysis - """ - pass - - def test_requeue_analysis(self) -> None: - """Test case for requeue_analysis - - Requeue Analysis - """ - pass - - def test_update_analysis(self) -> None: - """Test case for update_analysis - - Update Analysis - """ - pass - - def test_update_analysis_tags(self) -> None: - """Test case for update_analysis_tags - - Update Analysis Tags - """ - pass - - def test_upload_file(self) -> None: - """Test case for upload_file - - Upload File - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analyses_results_metadata_api.py b/test/test_analyses_results_metadata_api.py deleted file mode 100644 index ba818360..00000000 --- a/test/test_analyses_results_metadata_api.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.analyses_results_metadata_api import AnalysesResultsMetadataApi - - -class TestAnalysesResultsMetadataApi(unittest.TestCase): - """AnalysesResultsMetadataApi unit test stubs""" - - def setUp(self) -> None: - self.api = AnalysesResultsMetadataApi() - - def tearDown(self) -> None: - pass - - def test_get_analysis_functions_paginated(self) -> None: - """Test case for get_analysis_functions_paginated - - Get functions from analysis - """ - pass - - def test_get_capabilities(self) -> None: - """Test case for get_capabilities - - Gets the capabilities from the analysis - """ - pass - - def test_get_functions_list(self) -> None: - """Test case for get_functions_list - - Gets functions from analysis - """ - pass - - def test_get_pdf(self) -> None: - """Test case for get_pdf - - Gets the PDF found in the analysis - """ - pass - - def test_get_sbom(self) -> None: - """Test case for get_sbom - - Gets the software-bill-of-materials (SBOM) found in the analysis - """ - pass - - def test_get_tags(self) -> None: - """Test case for get_tags - - Get function tags with maliciousness score - """ - pass - - def test_get_vulnerabilities(self) -> None: - """Test case for get_vulnerabilities - - Gets the vulnerabilities found in the analysis - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analyses_x_refs_api.py b/test/test_analyses_x_refs_api.py deleted file mode 100644 index 58381e14..00000000 --- a/test/test_analyses_x_refs_api.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.analyses_x_refs_api import AnalysesXRefsApi - - -class TestAnalysesXRefsApi(unittest.TestCase): - """AnalysesXRefsApi unit test stubs""" - - def setUp(self) -> None: - self.api = AnalysesXRefsApi() - - def tearDown(self) -> None: - pass - - def test_get_xref_by_vaddr(self) -> None: - """Test case for get_xref_by_vaddr - - [Beta] Look up xrefs by virtual address - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_access_info.py b/test/test_analysis_access_info.py deleted file mode 100644 index 21afb471..00000000 --- a/test/test_analysis_access_info.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_access_info import AnalysisAccessInfo - -class TestAnalysisAccessInfo(unittest.TestCase): - """AnalysisAccessInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisAccessInfo: - """Test AnalysisAccessInfo - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisAccessInfo` - """ - model = AnalysisAccessInfo() - if include_optional: - return AnalysisAccessInfo( - owner = True, - username = '' - ) - else: - return AnalysisAccessInfo( - owner = True, - username = '', - ) - """ - - def testAnalysisAccessInfo(self): - """Test AnalysisAccessInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_bulk_add_tags_request.py b/test/test_analysis_bulk_add_tags_request.py deleted file mode 100644 index d302b5c8..00000000 --- a/test/test_analysis_bulk_add_tags_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_bulk_add_tags_request import AnalysisBulkAddTagsRequest - -class TestAnalysisBulkAddTagsRequest(unittest.TestCase): - """AnalysisBulkAddTagsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisBulkAddTagsRequest: - """Test AnalysisBulkAddTagsRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisBulkAddTagsRequest` - """ - model = AnalysisBulkAddTagsRequest() - if include_optional: - return AnalysisBulkAddTagsRequest( - tags = [ - '' - ], - analysis_ids = [ - 56 - ] - ) - else: - return AnalysisBulkAddTagsRequest( - tags = [ - '' - ], - analysis_ids = [ - 56 - ], - ) - """ - - def testAnalysisBulkAddTagsRequest(self): - """Test AnalysisBulkAddTagsRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_bulk_add_tags_response.py b/test/test_analysis_bulk_add_tags_response.py deleted file mode 100644 index 838651e1..00000000 --- a/test/test_analysis_bulk_add_tags_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_bulk_add_tags_response import AnalysisBulkAddTagsResponse - -class TestAnalysisBulkAddTagsResponse(unittest.TestCase): - """AnalysisBulkAddTagsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisBulkAddTagsResponse: - """Test AnalysisBulkAddTagsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisBulkAddTagsResponse` - """ - model = AnalysisBulkAddTagsResponse() - if include_optional: - return AnalysisBulkAddTagsResponse( - results = [ - revengai.models.analysis_bulk_add_tags_response_item.AnalysisBulkAddTagsResponseItem( - analysis_id = 56, - message = '', - error = '', ) - ] - ) - else: - return AnalysisBulkAddTagsResponse( - results = [ - revengai.models.analysis_bulk_add_tags_response_item.AnalysisBulkAddTagsResponseItem( - analysis_id = 56, - message = '', - error = '', ) - ], - ) - """ - - def testAnalysisBulkAddTagsResponse(self): - """Test AnalysisBulkAddTagsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_bulk_add_tags_response_item.py b/test/test_analysis_bulk_add_tags_response_item.py deleted file mode 100644 index 23a9179c..00000000 --- a/test/test_analysis_bulk_add_tags_response_item.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_bulk_add_tags_response_item import AnalysisBulkAddTagsResponseItem - -class TestAnalysisBulkAddTagsResponseItem(unittest.TestCase): - """AnalysisBulkAddTagsResponseItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisBulkAddTagsResponseItem: - """Test AnalysisBulkAddTagsResponseItem - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisBulkAddTagsResponseItem` - """ - model = AnalysisBulkAddTagsResponseItem() - if include_optional: - return AnalysisBulkAddTagsResponseItem( - analysis_id = 56, - message = '', - error = '' - ) - else: - return AnalysisBulkAddTagsResponseItem( - analysis_id = 56, - message = '', - ) - """ - - def testAnalysisBulkAddTagsResponseItem(self): - """Test AnalysisBulkAddTagsResponseItem""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_config.py b/test/test_analysis_config.py deleted file mode 100644 index 0a74e1e1..00000000 --- a/test/test_analysis_config.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_config import AnalysisConfig - -class TestAnalysisConfig(unittest.TestCase): - """AnalysisConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisConfig: - """Test AnalysisConfig - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisConfig` - """ - model = AnalysisConfig() - if include_optional: - return AnalysisConfig( - scrape_third_party_config = revengai.models.scrape_third_party_config.ScrapeThirdPartyConfig( - enabled = True, ), - generate_cves = True, - generate_sbom = True, - generate_capabilities = True, - no_cache = True, - advanced_analysis = True, - sandbox_config = revengai.models.sandbox_options.SandboxOptions( - enabled = True, - command_line_args = '', - start_method = 'standard_user_process', - timeout = 120, ) - ) - else: - return AnalysisConfig( - ) - """ - - def testAnalysisConfig(self): - """Test AnalysisConfig""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_create_request.py b/test/test_analysis_create_request.py deleted file mode 100644 index e7be6b65..00000000 --- a/test/test_analysis_create_request.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_create_request import AnalysisCreateRequest - -class TestAnalysisCreateRequest(unittest.TestCase): - """AnalysisCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCreateRequest: - """Test AnalysisCreateRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCreateRequest` - """ - model = AnalysisCreateRequest() - if include_optional: - return AnalysisCreateRequest( - filename = '', - sha_256_hash = '', - tags = [ - revengai.models.tag.Tag( - name = '', ) - ], - analysis_scope = 'PRIVATE', - symbols = revengai.models.symbols.Symbols( - base_address = 56, - function_boundaries = [ - revengai.models.function_boundary.FunctionBoundary( - mangled_name = '', - start_address = 56, - end_address = 56, - include_in_analysis = True, ) - ], ), - debug_hash = '', - analysis_config = revengai.models.analysis_config.AnalysisConfig( - scrape_third_party_config = revengai.models.scrape_third_party_config.ScrapeThirdPartyConfig( - enabled = True, ), - generate_cves = True, - generate_sbom = True, - generate_capabilities = True, - no_cache = True, - advanced_analysis = True, - sandbox_config = revengai.models.sandbox_options.SandboxOptions( - enabled = True, - command_line_args = '', - start_method = 'standard_user_process', - timeout = 120, ), ), - binary_config = revengai.models.binary_config.BinaryConfig( - isa = 'x86', - platform = 'linux', - file_format = 'pe', ), - auto_run_agents = revengai.models.auto_run_agents.AutoRunAgents( - triage = True, ) - ) - else: - return AnalysisCreateRequest( - filename = '', - sha_256_hash = '', - ) - """ - - def testAnalysisCreateRequest(self): - """Test AnalysisCreateRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_create_response.py b/test/test_analysis_create_response.py deleted file mode 100644 index 3bc066f4..00000000 --- a/test/test_analysis_create_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_create_response import AnalysisCreateResponse - -class TestAnalysisCreateResponse(unittest.TestCase): - """AnalysisCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCreateResponse: - """Test AnalysisCreateResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCreateResponse` - """ - model = AnalysisCreateResponse() - if include_optional: - return AnalysisCreateResponse( - analysis_id = 56, - binary_id = 56 - ) - else: - return AnalysisCreateResponse( - analysis_id = 56, - binary_id = 56, - ) - """ - - def testAnalysisCreateResponse(self): - """Test AnalysisCreateResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_detail_response.py b/test/test_analysis_detail_response.py deleted file mode 100644 index 785df9d2..00000000 --- a/test/test_analysis_detail_response.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_detail_response import AnalysisDetailResponse - -class TestAnalysisDetailResponse(unittest.TestCase): - """AnalysisDetailResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisDetailResponse: - """Test AnalysisDetailResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisDetailResponse` - """ - model = AnalysisDetailResponse() - if include_optional: - return AnalysisDetailResponse( - access = revengai.models.analysis_access_info.AnalysisAccessInfo( - owner = True, - username = '', ), - analysis_id = 56, - analysis_scope = '', - architecture = '', - binary_dynamic = True, - binary_format = '', - binary_name = '', - binary_size = 56, - binary_type = '', - creation = '', - dashboard_url = '', - debug = True, - model_name = '', - sbom = { }, - sha_256_hash = '', - auto_run_agents = revengai.models.auto_run_agents.AutoRunAgents( - triage = True, ) - ) - else: - return AnalysisDetailResponse( - access = revengai.models.analysis_access_info.AnalysisAccessInfo( - owner = True, - username = '', ), - analysis_id = 56, - analysis_scope = '', - architecture = '', - binary_dynamic = True, - binary_format = '', - binary_name = '', - binary_size = 56, - binary_type = '', - creation = '', - dashboard_url = '', - debug = True, - model_name = '', - sha_256_hash = '', - auto_run_agents = revengai.models.auto_run_agents.AutoRunAgents( - triage = True, ), - ) - """ - - def testAnalysisDetailResponse(self): - """Test AnalysisDetailResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_function_mapping.py b/test/test_analysis_function_mapping.py deleted file mode 100644 index bddbe772..00000000 --- a/test/test_analysis_function_mapping.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_function_mapping import AnalysisFunctionMapping - -class TestAnalysisFunctionMapping(unittest.TestCase): - """AnalysisFunctionMapping unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisFunctionMapping: - """Test AnalysisFunctionMapping - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisFunctionMapping` - """ - model = AnalysisFunctionMapping() - if include_optional: - return AnalysisFunctionMapping( - function_maps = revengai.models.function_mapping.FunctionMapping( - function_map = { - 'key' : 56 - }, - inverse_function_map = { - 'key' : 56 - }, - name_map = { - 'key' : '' - }, ) - ) - else: - return AnalysisFunctionMapping( - function_maps = revengai.models.function_mapping.FunctionMapping( - function_map = { - 'key' : 56 - }, - inverse_function_map = { - 'key' : 56 - }, - name_map = { - 'key' : '' - }, ), - ) - """ - - def testAnalysisFunctionMapping(self): - """Test AnalysisFunctionMapping""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_function_matching_request.py b/test/test_analysis_function_matching_request.py deleted file mode 100644 index 3b9e6893..00000000 --- a/test/test_analysis_function_matching_request.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_function_matching_request import AnalysisFunctionMatchingRequest - -class TestAnalysisFunctionMatchingRequest(unittest.TestCase): - """AnalysisFunctionMatchingRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisFunctionMatchingRequest: - """Test AnalysisFunctionMatchingRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisFunctionMatchingRequest` - """ - model = AnalysisFunctionMatchingRequest() - if include_optional: - return AnalysisFunctionMatchingRequest( - min_similarity = 0, - filters = revengai.models.function_matching_filters.FunctionMatchingFilters( - binary_ids = [ - 56 - ], - collection_ids = [ - 56 - ], - function_ids = [ - 56 - ], - user_ids = [ - 56 - ], - debug_types = [ - 'USER' - ], ), - results_per_function = 1, - page = 1, - page_size = 0, - status_only = True, - no_cache = True, - use_canonical_names = True - ) - else: - return AnalysisFunctionMatchingRequest( - ) - """ - - def testAnalysisFunctionMatchingRequest(self): - """Test AnalysisFunctionMatchingRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_functions.py b/test/test_analysis_functions.py deleted file mode 100644 index d7b7c747..00000000 --- a/test/test_analysis_functions.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_functions import AnalysisFunctions - -class TestAnalysisFunctions(unittest.TestCase): - """AnalysisFunctions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisFunctions: - """Test AnalysisFunctions - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisFunctions` - """ - model = AnalysisFunctions() - if include_optional: - return AnalysisFunctions( - functions = [ - revengai.models.function.Function( - function_id = 56, - function_name = '', - function_mangled_name = '', - function_vaddr = 56, - function_size = 56, - debug = True, ) - ] - ) - else: - return AnalysisFunctions( - functions = [ - revengai.models.function.Function( - function_id = 56, - function_name = '', - function_mangled_name = '', - function_vaddr = 56, - function_size = 56, - debug = True, ) - ], - ) - """ - - def testAnalysisFunctions(self): - """Test AnalysisFunctions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_functions_list.py b/test/test_analysis_functions_list.py deleted file mode 100644 index e1c38252..00000000 --- a/test/test_analysis_functions_list.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_functions_list import AnalysisFunctionsList - -class TestAnalysisFunctionsList(unittest.TestCase): - """AnalysisFunctionsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisFunctionsList: - """Test AnalysisFunctionsList - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisFunctionsList` - """ - model = AnalysisFunctionsList() - if include_optional: - return AnalysisFunctionsList( - functions = [ - revengai.models.function_list_item.FunctionListItem( - id = 56, - name = '', - name_source_type = 'SYSTEM', - name_source = revengai.models.name_source_type.NameSourceType( - type = 'SYSTEM', - function_id = 56, - binary_id = 56, - analysis_id = 56, ), - mangled_name = '', - vaddr = 56, - size = 56, - debug = True, ) - ] - ) - else: - return AnalysisFunctionsList( - functions = [ - revengai.models.function_list_item.FunctionListItem( - id = 56, - name = '', - name_source_type = 'SYSTEM', - name_source = revengai.models.name_source_type.NameSourceType( - type = 'SYSTEM', - function_id = 56, - binary_id = 56, - analysis_id = 56, ), - mangled_name = '', - vaddr = 56, - size = 56, - debug = True, ) - ], - ) - """ - - def testAnalysisFunctionsList(self): - """Test AnalysisFunctionsList""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_record.py b/test/test_analysis_record.py deleted file mode 100644 index 274c33e6..00000000 --- a/test/test_analysis_record.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_record import AnalysisRecord - -class TestAnalysisRecord(unittest.TestCase): - """AnalysisRecord unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisRecord: - """Test AnalysisRecord - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisRecord` - """ - model = AnalysisRecord() - if include_optional: - return AnalysisRecord( - analysis_id = 56, - analysis_scope = '', - binary_id = 56, - model_id = 56, - model_name = '', - status = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_owner = True, - binary_name = '', - sha_256_hash = '', - function_boundaries_hash = '', - binary_size = 56, - username = '', - dynamic_execution_status = 'PENDING', - dynamic_execution_task_id = 56, - base_address = 56, - tags = [ - revengai.models.tag_item.TagItem( - name = '', - origin = '', - collection_id = 56, ) - ] - ) - else: - return AnalysisRecord( - analysis_id = 56, - analysis_scope = '', - binary_id = 56, - model_id = 56, - model_name = '', - status = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_owner = True, - binary_name = '', - sha_256_hash = '', - function_boundaries_hash = '', - binary_size = 56, - username = '', - base_address = 56, - ) - """ - - def testAnalysisRecord(self): - """Test AnalysisRecord""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_report.py b/test/test_analysis_report.py deleted file mode 100644 index 1999e952..00000000 --- a/test/test_analysis_report.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_report import AnalysisReport - -class TestAnalysisReport(unittest.TestCase): - """AnalysisReport unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisReport: - """Test AnalysisReport - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisReport` - """ - model = AnalysisReport() - if include_optional: - return AnalysisReport( - file_activity = [ - { - 'key' : null - } - ], - info = { - 'key' : null - }, - memdumps = [ - { - 'key' : null - } - ], - module_load_addresses = [ - { - 'key' : null - } - ], - mutexes = [ - { - 'key' : null - } - ], - network_activity = { - 'key' : null - }, - process_activity = [ - { - 'key' : null - } - ], - process_tree = { - 'key' : null - }, - registry_operations = [ - { - 'key' : null - } - ], - scheduled_tasks = [ - { - 'key' : null - } - ], - services = [ - { - 'key' : null - } - ], - startup = { - 'key' : null - }, - threat_score = 56, - ttps = [ - { - 'key' : null - } - ] - ) - else: - return AnalysisReport( - info = { - 'key' : null - }, - threat_score = 56, - ) - """ - - def testAnalysisReport(self): - """Test AnalysisReport""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_scope.py b/test/test_analysis_scope.py deleted file mode 100644 index e3a7aca9..00000000 --- a/test/test_analysis_scope.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_scope import AnalysisScope - -class TestAnalysisScope(unittest.TestCase): - """AnalysisScope unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAnalysisScope(self): - """Test AnalysisScope""" - # inst = AnalysisScope() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_string_input.py b/test/test_analysis_string_input.py deleted file mode 100644 index dff58bb2..00000000 --- a/test/test_analysis_string_input.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_string_input import AnalysisStringInput - -class TestAnalysisStringInput(unittest.TestCase): - """AnalysisStringInput unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisStringInput: - """Test AnalysisStringInput - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisStringInput` - """ - model = AnalysisStringInput() - if include_optional: - return AnalysisStringInput( - value = '', - vaddr = 56, - source = 'SYSTEM' - ) - else: - return AnalysisStringInput( - value = '', - vaddr = 56, - source = 'SYSTEM', - ) - """ - - def testAnalysisStringInput(self): - """Test AnalysisStringInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_strings_response.py b/test/test_analysis_strings_response.py deleted file mode 100644 index 51d34e9b..00000000 --- a/test/test_analysis_strings_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_strings_response import AnalysisStringsResponse - -class TestAnalysisStringsResponse(unittest.TestCase): - """AnalysisStringsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisStringsResponse: - """Test AnalysisStringsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisStringsResponse` - """ - model = AnalysisStringsResponse() - if include_optional: - return AnalysisStringsResponse( - strings = [ - revengai.models.string_functions.StringFunctions( - value = '', - functions = [ - revengai.models.function.Function( - function_id = 56, - function_vaddr = 56, ) - ], - source = 'SYSTEM', ) - ], - total_strings = 56 - ) - else: - return AnalysisStringsResponse( - strings = [ - revengai.models.string_functions.StringFunctions( - value = '', - functions = [ - revengai.models.function.Function( - function_id = 56, - function_vaddr = 56, ) - ], - source = 'SYSTEM', ) - ], - total_strings = 56, - ) - """ - - def testAnalysisStringsResponse(self): - """Test AnalysisStringsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_strings_status_response.py b/test/test_analysis_strings_status_response.py deleted file mode 100644 index 0dfc3d82..00000000 --- a/test/test_analysis_strings_status_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_strings_status_response import AnalysisStringsStatusResponse - -class TestAnalysisStringsStatusResponse(unittest.TestCase): - """AnalysisStringsStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisStringsStatusResponse: - """Test AnalysisStringsStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisStringsStatusResponse` - """ - model = AnalysisStringsStatusResponse() - if include_optional: - return AnalysisStringsStatusResponse( - status = 'UNINITIALISED' - ) - else: - return AnalysisStringsStatusResponse( - status = 'UNINITIALISED', - ) - """ - - def testAnalysisStringsStatusResponse(self): - """Test AnalysisStringsStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_tags.py b/test/test_analysis_tags.py deleted file mode 100644 index f05ed90a..00000000 --- a/test/test_analysis_tags.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_tags import AnalysisTags - -class TestAnalysisTags(unittest.TestCase): - """AnalysisTags unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisTags: - """Test AnalysisTags - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisTags` - """ - model = AnalysisTags() - if include_optional: - return AnalysisTags( - analysis_tags = [ - revengai.models.tag_item.TagItem( - name = '', - origin = '', - collection_id = 56, ) - ] - ) - else: - return AnalysisTags( - analysis_tags = [ - revengai.models.tag_item.TagItem( - name = '', - origin = '', - collection_id = 56, ) - ], - ) - """ - - def testAnalysisTags(self): - """Test AnalysisTags""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_update_request.py b/test/test_analysis_update_request.py deleted file mode 100644 index 712c7f4f..00000000 --- a/test/test_analysis_update_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_update_request import AnalysisUpdateRequest - -class TestAnalysisUpdateRequest(unittest.TestCase): - """AnalysisUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisUpdateRequest: - """Test AnalysisUpdateRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisUpdateRequest` - """ - model = AnalysisUpdateRequest() - if include_optional: - return AnalysisUpdateRequest( - binary_name = '', - analysis_scope = 'PUBLIC' - ) - else: - return AnalysisUpdateRequest( - ) - """ - - def testAnalysisUpdateRequest(self): - """Test AnalysisUpdateRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_update_tags_request.py b/test/test_analysis_update_tags_request.py deleted file mode 100644 index dc268fd3..00000000 --- a/test/test_analysis_update_tags_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_update_tags_request import AnalysisUpdateTagsRequest - -class TestAnalysisUpdateTagsRequest(unittest.TestCase): - """AnalysisUpdateTagsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisUpdateTagsRequest: - """Test AnalysisUpdateTagsRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisUpdateTagsRequest` - """ - model = AnalysisUpdateTagsRequest() - if include_optional: - return AnalysisUpdateTagsRequest( - tags = [ - '' - ] - ) - else: - return AnalysisUpdateTagsRequest( - tags = [ - '' - ], - ) - """ - - def testAnalysisUpdateTagsRequest(self): - """Test AnalysisUpdateTagsRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_analysis_update_tags_response.py b/test/test_analysis_update_tags_response.py deleted file mode 100644 index 2a0cdb2d..00000000 --- a/test/test_analysis_update_tags_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.analysis_update_tags_response import AnalysisUpdateTagsResponse - -class TestAnalysisUpdateTagsResponse(unittest.TestCase): - """AnalysisUpdateTagsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisUpdateTagsResponse: - """Test AnalysisUpdateTagsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisUpdateTagsResponse` - """ - model = AnalysisUpdateTagsResponse() - if include_optional: - return AnalysisUpdateTagsResponse( - tags = [ - revengai.models.tag_response.TagResponse( - name = '', - origin = '', ) - ] - ) - else: - return AnalysisUpdateTagsResponse( - tags = [ - revengai.models.tag_response.TagResponse( - name = '', - origin = '', ) - ], - ) - """ - - def testAnalysisUpdateTagsResponse(self): - """Test AnalysisUpdateTagsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_call.py b/test/test_api_call.py deleted file mode 100644 index 9925f955..00000000 --- a/test/test_api_call.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.api_call import ApiCall - -class TestApiCall(unittest.TestCase): - """ApiCall unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ApiCall: - """Test ApiCall - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ApiCall` - """ - model = ApiCall() - if include_optional: - return ApiCall( - called_from = '', - called_from_rva = '', - from_module = '', - method = '' - ) - else: - return ApiCall( - method = '', - ) - """ - - def testApiCall(self): - """Test ApiCall""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_api_error.py b/test/test_api_error.py deleted file mode 100644 index 38151e76..00000000 --- a/test/test_api_error.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.api_error import APIError - -class TestAPIError(unittest.TestCase): - """APIError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> APIError: - """Test APIError - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `APIError` - """ - model = APIError() - if include_optional: - return APIError( - var_schema = '', - error = { } - ) - else: - return APIError( - error = { }, - ) - """ - - def testAPIError(self): - """Test APIError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_app_api_rest_v2_agent_schema_capability.py b/test/test_app_api_rest_v2_agent_schema_capability.py deleted file mode 100644 index 5522fef4..00000000 --- a/test/test_app_api_rest_v2_agent_schema_capability.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.app_api_rest_v2_agent_schema_capability import AppApiRestV2AgentSchemaCapability - -class TestAppApiRestV2AgentSchemaCapability(unittest.TestCase): - """AppApiRestV2AgentSchemaCapability unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AppApiRestV2AgentSchemaCapability: - """Test AppApiRestV2AgentSchemaCapability - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AppApiRestV2AgentSchemaCapability` - """ - model = AppApiRestV2AgentSchemaCapability() - if include_optional: - return AppApiRestV2AgentSchemaCapability( - function_vaddr = '', - description = '', - capability = '', - type = 'Execute', - function_name = '', - function_id = 56 - ) - else: - return AppApiRestV2AgentSchemaCapability( - function_vaddr = '', - description = '', - capability = '', - type = 'Execute', - function_name = '', - function_id = 56, - ) - """ - - def testAppApiRestV2AgentSchemaCapability(self): - """Test AppApiRestV2AgentSchemaCapability""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_app_api_rest_v2_analyses_enums_order_by.py b/test/test_app_api_rest_v2_analyses_enums_order_by.py deleted file mode 100644 index 0ef13015..00000000 --- a/test/test_app_api_rest_v2_analyses_enums_order_by.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.app_api_rest_v2_analyses_enums_order_by import AppApiRestV2AnalysesEnumsOrderBy - -class TestAppApiRestV2AnalysesEnumsOrderBy(unittest.TestCase): - """AppApiRestV2AnalysesEnumsOrderBy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAppApiRestV2AnalysesEnumsOrderBy(self): - """Test AppApiRestV2AnalysesEnumsOrderBy""" - # inst = AppApiRestV2AnalysesEnumsOrderBy() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_app_api_rest_v2_collections_enums_order_by.py b/test/test_app_api_rest_v2_collections_enums_order_by.py deleted file mode 100644 index fc9194a0..00000000 --- a/test/test_app_api_rest_v2_collections_enums_order_by.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy - -class TestAppApiRestV2CollectionsEnumsOrderBy(unittest.TestCase): - """AppApiRestV2CollectionsEnumsOrderBy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAppApiRestV2CollectionsEnumsOrderBy(self): - """Test AppApiRestV2CollectionsEnumsOrderBy""" - # inst = AppApiRestV2CollectionsEnumsOrderBy() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_app_api_rest_v2_functions_responses_function.py b/test/test_app_api_rest_v2_functions_responses_function.py deleted file mode 100644 index 77d9ae38..00000000 --- a/test/test_app_api_rest_v2_functions_responses_function.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.app_api_rest_v2_functions_responses_function import AppApiRestV2FunctionsResponsesFunction - -class TestAppApiRestV2FunctionsResponsesFunction(unittest.TestCase): - """AppApiRestV2FunctionsResponsesFunction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AppApiRestV2FunctionsResponsesFunction: - """Test AppApiRestV2FunctionsResponsesFunction - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AppApiRestV2FunctionsResponsesFunction` - """ - model = AppApiRestV2FunctionsResponsesFunction() - if include_optional: - return AppApiRestV2FunctionsResponsesFunction( - function_id = 56, - function_vaddr = 56 - ) - else: - return AppApiRestV2FunctionsResponsesFunction( - function_vaddr = 56, - ) - """ - - def testAppApiRestV2FunctionsResponsesFunction(self): - """Test AppApiRestV2FunctionsResponsesFunction""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_app_api_rest_v2_functions_types_function.py b/test/test_app_api_rest_v2_functions_types_function.py deleted file mode 100644 index 3d7a2da0..00000000 --- a/test/test_app_api_rest_v2_functions_types_function.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.app_api_rest_v2_functions_types_function import AppApiRestV2FunctionsTypesFunction - -class TestAppApiRestV2FunctionsTypesFunction(unittest.TestCase): - """AppApiRestV2FunctionsTypesFunction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AppApiRestV2FunctionsTypesFunction: - """Test AppApiRestV2FunctionsTypesFunction - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AppApiRestV2FunctionsTypesFunction` - """ - model = AppApiRestV2FunctionsTypesFunction() - if include_optional: - return AppApiRestV2FunctionsTypesFunction( - function_id = 56, - function_name = '', - function_mangled_name = '', - function_vaddr = 56, - function_size = 56, - debug = True - ) - else: - return AppApiRestV2FunctionsTypesFunction( - function_id = 56, - function_name = '', - function_mangled_name = '', - function_vaddr = 56, - function_size = 56, - debug = True, - ) - """ - - def testAppApiRestV2FunctionsTypesFunction(self): - """Test AppApiRestV2FunctionsTypesFunction""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_app_api_rest_v2_info_types_capability.py b/test/test_app_api_rest_v2_info_types_capability.py deleted file mode 100644 index b0527b98..00000000 --- a/test/test_app_api_rest_v2_info_types_capability.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.app_api_rest_v2_info_types_capability import AppApiRestV2InfoTypesCapability - -class TestAppApiRestV2InfoTypesCapability(unittest.TestCase): - """AppApiRestV2InfoTypesCapability unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AppApiRestV2InfoTypesCapability: - """Test AppApiRestV2InfoTypesCapability - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AppApiRestV2InfoTypesCapability` - """ - model = AppApiRestV2InfoTypesCapability() - if include_optional: - return AppApiRestV2InfoTypesCapability( - function_name = '', - function_vaddr = 56, - capabilities = [ - '' - ] - ) - else: - return AppApiRestV2InfoTypesCapability( - function_name = '', - function_vaddr = 56, - capabilities = [ - '' - ], - ) - """ - - def testAppApiRestV2InfoTypesCapability(self): - """Test AppApiRestV2InfoTypesCapability""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_argument.py b/test/test_argument.py deleted file mode 100644 index 6cb551c3..00000000 --- a/test/test_argument.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.argument import Argument - -class TestArgument(unittest.TestCase): - """Argument unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Argument: - """Test Argument - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Argument` - """ - model = Argument() - if include_optional: - return Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56 - ) - else: - return Argument( - offset = 56, - name = '', - type = '', - size = 56, - ) - """ - - def testArgument(self): - """Test Argument""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_authentication_users_api.py b/test/test_authentication_users_api.py deleted file mode 100644 index 65fa6561..00000000 --- a/test/test_authentication_users_api.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.authentication_users_api import AuthenticationUsersApi - - -class TestAuthenticationUsersApi(unittest.TestCase): - """AuthenticationUsersApi unit test stubs""" - - def setUp(self) -> None: - self.api = AuthenticationUsersApi() - - def tearDown(self) -> None: - pass - - def test_get_requester_user_info(self) -> None: - """Test case for get_requester_user_info - - Get the requesters user information - """ - pass - - def test_get_user(self) -> None: - """Test case for get_user - - Get a user's public information - """ - pass - - def test_get_user_activity(self) -> None: - """Test case for get_user_activity - - Get auth user activity - """ - pass - - def test_get_user_comments(self) -> None: - """Test case for get_user_comments - - Get comments by user - """ - pass - - def test_submit_user_feedback(self) -> None: - """Test case for submit_user_feedback - - Submit feedback about the application - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_auto_run_agents.py b/test/test_auto_run_agents.py deleted file mode 100644 index f9a2c03b..00000000 --- a/test/test_auto_run_agents.py +++ /dev/null @@ -1,50 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.auto_run_agents import AutoRunAgents - -class TestAutoRunAgents(unittest.TestCase): - """AutoRunAgents unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AutoRunAgents: - """Test AutoRunAgents - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AutoRunAgents` - """ - model = AutoRunAgents() - if include_optional: - return AutoRunAgents( - triage = True - ) - else: - return AutoRunAgents( - ) - """ - - def testAutoRunAgents(self): - """Test AutoRunAgents""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_auto_unstrip_request.py b/test/test_auto_unstrip_request.py deleted file mode 100644 index 914c15f5..00000000 --- a/test/test_auto_unstrip_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.auto_unstrip_request import AutoUnstripRequest - -class TestAutoUnstripRequest(unittest.TestCase): - """AutoUnstripRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AutoUnstripRequest: - """Test AutoUnstripRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AutoUnstripRequest` - """ - model = AutoUnstripRequest() - if include_optional: - return AutoUnstripRequest( - min_similarity = 0, - apply = True, - confidence_threshold = 0, - min_group_size = 1, - status_only = True, - no_cache = True, - use_canonical_names = True - ) - else: - return AutoUnstripRequest( - ) - """ - - def testAutoUnstripRequest(self): - """Test AutoUnstripRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_auto_unstrip_response.py b/test/test_auto_unstrip_response.py deleted file mode 100644 index 1e5351e5..00000000 --- a/test/test_auto_unstrip_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.auto_unstrip_response import AutoUnstripResponse - -class TestAutoUnstripResponse(unittest.TestCase): - """AutoUnstripResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AutoUnstripResponse: - """Test AutoUnstripResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AutoUnstripResponse` - """ - model = AutoUnstripResponse() - if include_optional: - return AutoUnstripResponse( - progress = 56, - status = '', - total_time = 56, - matches = [ - revengai.models.matched_function_suggestion.MatchedFunctionSuggestion( - function_id = 56, - function_vaddr = 56, - suggested_name = '', - suggested_demangled_name = '', ) - ], - applied = True, - error_message = '' - ) - else: - return AutoUnstripResponse( - ) - """ - - def testAutoUnstripResponse(self): - """Test AutoUnstripResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response.py b/test/test_base_response.py deleted file mode 100644 index 016b552a..00000000 --- a/test/test_base_response.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response import BaseResponse - -class TestBaseResponse(unittest.TestCase): - """BaseResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponse: - """Test BaseResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponse` - """ - model = BaseResponse() - if include_optional: - return BaseResponse( - status = True, - data = None, - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponse( - ) - """ - - def testBaseResponse(self): - """Test BaseResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_additional_details_status_response.py b/test/test_base_response_additional_details_status_response.py deleted file mode 100644 index 192fd18a..00000000 --- a/test/test_base_response_additional_details_status_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_additional_details_status_response import BaseResponseAdditionalDetailsStatusResponse - -class TestBaseResponseAdditionalDetailsStatusResponse(unittest.TestCase): - """BaseResponseAdditionalDetailsStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAdditionalDetailsStatusResponse: - """Test BaseResponseAdditionalDetailsStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAdditionalDetailsStatusResponse` - """ - model = BaseResponseAdditionalDetailsStatusResponse() - if include_optional: - return BaseResponseAdditionalDetailsStatusResponse( - status = True, - data = revengai.models.additional_details_status_response.AdditionalDetailsStatusResponse( - status = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAdditionalDetailsStatusResponse( - ) - """ - - def testBaseResponseAdditionalDetailsStatusResponse(self): - """Test BaseResponseAdditionalDetailsStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_bulk_add_tags_response.py b/test/test_base_response_analysis_bulk_add_tags_response.py deleted file mode 100644 index 50ae6917..00000000 --- a/test/test_base_response_analysis_bulk_add_tags_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_bulk_add_tags_response import BaseResponseAnalysisBulkAddTagsResponse - -class TestBaseResponseAnalysisBulkAddTagsResponse(unittest.TestCase): - """BaseResponseAnalysisBulkAddTagsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisBulkAddTagsResponse: - """Test BaseResponseAnalysisBulkAddTagsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisBulkAddTagsResponse` - """ - model = BaseResponseAnalysisBulkAddTagsResponse() - if include_optional: - return BaseResponseAnalysisBulkAddTagsResponse( - status = True, - data = revengai.models.analysis_bulk_add_tags_response.AnalysisBulkAddTagsResponse( - results = [ - revengai.models.analysis_bulk_add_tags_response_item.AnalysisBulkAddTagsResponseItem( - analysis_id = 56, - message = '', - error = '', ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisBulkAddTagsResponse( - ) - """ - - def testBaseResponseAnalysisBulkAddTagsResponse(self): - """Test BaseResponseAnalysisBulkAddTagsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_create_response.py b/test/test_base_response_analysis_create_response.py deleted file mode 100644 index 0859babc..00000000 --- a/test/test_base_response_analysis_create_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_create_response import BaseResponseAnalysisCreateResponse - -class TestBaseResponseAnalysisCreateResponse(unittest.TestCase): - """BaseResponseAnalysisCreateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisCreateResponse: - """Test BaseResponseAnalysisCreateResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisCreateResponse` - """ - model = BaseResponseAnalysisCreateResponse() - if include_optional: - return BaseResponseAnalysisCreateResponse( - status = True, - data = revengai.models.analysis_create_response.AnalysisCreateResponse( - analysis_id = 56, - binary_id = 56, ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisCreateResponse( - ) - """ - - def testBaseResponseAnalysisCreateResponse(self): - """Test BaseResponseAnalysisCreateResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_detail_response.py b/test/test_base_response_analysis_detail_response.py deleted file mode 100644 index 7f2ae60d..00000000 --- a/test/test_base_response_analysis_detail_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_detail_response import BaseResponseAnalysisDetailResponse - -class TestBaseResponseAnalysisDetailResponse(unittest.TestCase): - """BaseResponseAnalysisDetailResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisDetailResponse: - """Test BaseResponseAnalysisDetailResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisDetailResponse` - """ - model = BaseResponseAnalysisDetailResponse() - if include_optional: - return BaseResponseAnalysisDetailResponse( - status = True, - data = revengai.models.analysis_detail_response.AnalysisDetailResponse( - access = revengai.models.analysis_access_info.AnalysisAccessInfo( - owner = True, - username = '', ), - analysis_id = 56, - analysis_scope = '', - architecture = '', - binary_dynamic = True, - binary_format = '', - binary_name = '', - binary_size = 56, - binary_type = '', - creation = '', - dashboard_url = '', - debug = True, - model_name = '', - sbom = { }, - sha_256_hash = '', - auto_run_agents = revengai.models.auto_run_agents.AutoRunAgents( - triage = True, ), ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisDetailResponse( - ) - """ - - def testBaseResponseAnalysisDetailResponse(self): - """Test BaseResponseAnalysisDetailResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_function_mapping.py b/test/test_base_response_analysis_function_mapping.py deleted file mode 100644 index 4c5210ef..00000000 --- a/test/test_base_response_analysis_function_mapping.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_function_mapping import BaseResponseAnalysisFunctionMapping - -class TestBaseResponseAnalysisFunctionMapping(unittest.TestCase): - """BaseResponseAnalysisFunctionMapping unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisFunctionMapping: - """Test BaseResponseAnalysisFunctionMapping - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisFunctionMapping` - """ - model = BaseResponseAnalysisFunctionMapping() - if include_optional: - return BaseResponseAnalysisFunctionMapping( - status = True, - data = revengai.models.analysis_function_mapping.AnalysisFunctionMapping( - function_maps = revengai.models.function_mapping.FunctionMapping( - function_map = { - 'key' : 56 - }, - inverse_function_map = { - 'key' : 56 - }, - name_map = { - 'key' : '' - }, ), ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisFunctionMapping( - ) - """ - - def testBaseResponseAnalysisFunctionMapping(self): - """Test BaseResponseAnalysisFunctionMapping""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_functions.py b/test/test_base_response_analysis_functions.py deleted file mode 100644 index 519032a3..00000000 --- a/test/test_base_response_analysis_functions.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_functions import BaseResponseAnalysisFunctions - -class TestBaseResponseAnalysisFunctions(unittest.TestCase): - """BaseResponseAnalysisFunctions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisFunctions: - """Test BaseResponseAnalysisFunctions - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisFunctions` - """ - model = BaseResponseAnalysisFunctions() - if include_optional: - return BaseResponseAnalysisFunctions( - status = True, - data = revengai.models.analysis_functions.AnalysisFunctions( - functions = [ - revengai.models.function.Function( - function_id = 56, - function_name = '', - function_mangled_name = '', - function_vaddr = 56, - function_size = 56, - debug = True, ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisFunctions( - ) - """ - - def testBaseResponseAnalysisFunctions(self): - """Test BaseResponseAnalysisFunctions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_functions_list.py b/test/test_base_response_analysis_functions_list.py deleted file mode 100644 index 943f1a5c..00000000 --- a/test/test_base_response_analysis_functions_list.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_functions_list import BaseResponseAnalysisFunctionsList - -class TestBaseResponseAnalysisFunctionsList(unittest.TestCase): - """BaseResponseAnalysisFunctionsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisFunctionsList: - """Test BaseResponseAnalysisFunctionsList - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisFunctionsList` - """ - model = BaseResponseAnalysisFunctionsList() - if include_optional: - return BaseResponseAnalysisFunctionsList( - status = True, - data = revengai.models.analysis_functions_list.AnalysisFunctionsList( - functions = [ - revengai.models.function_list_item.FunctionListItem( - id = 56, - name = '', - name_source_type = 'SYSTEM', - name_source = revengai.models.name_source_type.NameSourceType( - type = 'SYSTEM', - function_id = 56, - binary_id = 56, - analysis_id = 56, ), - mangled_name = '', - vaddr = 56, - size = 56, - debug = True, ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisFunctionsList( - ) - """ - - def testBaseResponseAnalysisFunctionsList(self): - """Test BaseResponseAnalysisFunctionsList""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_strings_response.py b/test/test_base_response_analysis_strings_response.py deleted file mode 100644 index bde9893c..00000000 --- a/test/test_base_response_analysis_strings_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_strings_response import BaseResponseAnalysisStringsResponse - -class TestBaseResponseAnalysisStringsResponse(unittest.TestCase): - """BaseResponseAnalysisStringsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisStringsResponse: - """Test BaseResponseAnalysisStringsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisStringsResponse` - """ - model = BaseResponseAnalysisStringsResponse() - if include_optional: - return BaseResponseAnalysisStringsResponse( - status = True, - data = revengai.models.analysis_strings_response.AnalysisStringsResponse( - strings = [ - revengai.models.string_functions.StringFunctions( - value = '', - functions = [ - revengai.models.function.Function( - function_id = 56, - function_vaddr = 56, ) - ], - source = 'SYSTEM', ) - ], - total_strings = 56, ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisStringsResponse( - ) - """ - - def testBaseResponseAnalysisStringsResponse(self): - """Test BaseResponseAnalysisStringsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_strings_status_response.py b/test/test_base_response_analysis_strings_status_response.py deleted file mode 100644 index eabf6408..00000000 --- a/test/test_base_response_analysis_strings_status_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_strings_status_response import BaseResponseAnalysisStringsStatusResponse - -class TestBaseResponseAnalysisStringsStatusResponse(unittest.TestCase): - """BaseResponseAnalysisStringsStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisStringsStatusResponse: - """Test BaseResponseAnalysisStringsStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisStringsStatusResponse` - """ - model = BaseResponseAnalysisStringsStatusResponse() - if include_optional: - return BaseResponseAnalysisStringsStatusResponse( - status = True, - data = revengai.models.analysis_strings_status_response.AnalysisStringsStatusResponse( - status = 'UNINITIALISED', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisStringsStatusResponse( - ) - """ - - def testBaseResponseAnalysisStringsStatusResponse(self): - """Test BaseResponseAnalysisStringsStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_tags.py b/test/test_base_response_analysis_tags.py deleted file mode 100644 index edcbf5e7..00000000 --- a/test/test_base_response_analysis_tags.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_tags import BaseResponseAnalysisTags - -class TestBaseResponseAnalysisTags(unittest.TestCase): - """BaseResponseAnalysisTags unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisTags: - """Test BaseResponseAnalysisTags - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisTags` - """ - model = BaseResponseAnalysisTags() - if include_optional: - return BaseResponseAnalysisTags( - status = True, - data = revengai.models.analysis_tags.AnalysisTags( - analysis_tags = [ - revengai.models.tag_item.TagItem( - name = '', - origin = '', - collection_id = 56, ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisTags( - ) - """ - - def testBaseResponseAnalysisTags(self): - """Test BaseResponseAnalysisTags""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_analysis_update_tags_response.py b/test/test_base_response_analysis_update_tags_response.py deleted file mode 100644 index ed54d2f8..00000000 --- a/test/test_base_response_analysis_update_tags_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_analysis_update_tags_response import BaseResponseAnalysisUpdateTagsResponse - -class TestBaseResponseAnalysisUpdateTagsResponse(unittest.TestCase): - """BaseResponseAnalysisUpdateTagsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseAnalysisUpdateTagsResponse: - """Test BaseResponseAnalysisUpdateTagsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseAnalysisUpdateTagsResponse` - """ - model = BaseResponseAnalysisUpdateTagsResponse() - if include_optional: - return BaseResponseAnalysisUpdateTagsResponse( - status = True, - data = revengai.models.analysis_update_tags_response.AnalysisUpdateTagsResponse( - tags = [ - revengai.models.tag_response.TagResponse( - name = '', - origin = '', ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseAnalysisUpdateTagsResponse( - ) - """ - - def testBaseResponseAnalysisUpdateTagsResponse(self): - """Test BaseResponseAnalysisUpdateTagsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_basic.py b/test/test_base_response_basic.py deleted file mode 100644 index c47b6747..00000000 --- a/test/test_base_response_basic.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_basic import BaseResponseBasic - -class TestBaseResponseBasic(unittest.TestCase): - """BaseResponseBasic unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseBasic: - """Test BaseResponseBasic - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseBasic` - """ - model = BaseResponseBasic() - if include_optional: - return BaseResponseBasic( - status = True, - data = revengai.models.basic.Basic( - binary_id = 56, - binary_name = '', - binary_size = 56, - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - sha_256_hash = '', - model_name = '', - model_id = 56, - owner_username = '', - is_system = True, - analysis_scope = '', - is_owner = True, - debug = True, - function_count = 56, - is_advanced = True, - base_address = 56, - binary_uuid = '', - sequencer_version = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseBasic( - ) - """ - - def testBaseResponseBasic(self): - """Test BaseResponseBasic""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_binaries_related_status_response.py b/test/test_base_response_binaries_related_status_response.py deleted file mode 100644 index ac809da2..00000000 --- a/test/test_base_response_binaries_related_status_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_binaries_related_status_response import BaseResponseBinariesRelatedStatusResponse - -class TestBaseResponseBinariesRelatedStatusResponse(unittest.TestCase): - """BaseResponseBinariesRelatedStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseBinariesRelatedStatusResponse: - """Test BaseResponseBinariesRelatedStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseBinariesRelatedStatusResponse` - """ - model = BaseResponseBinariesRelatedStatusResponse() - if include_optional: - return BaseResponseBinariesRelatedStatusResponse( - status = True, - data = revengai.models.binaries_related_status_response.BinariesRelatedStatusResponse( - status = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseBinariesRelatedStatusResponse( - ) - """ - - def testBaseResponseBinariesRelatedStatusResponse(self): - """Test BaseResponseBinariesRelatedStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_binary_additional_response.py b/test/test_base_response_binary_additional_response.py deleted file mode 100644 index 88b237ce..00000000 --- a/test/test_base_response_binary_additional_response.py +++ /dev/null @@ -1,250 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_binary_additional_response import BaseResponseBinaryAdditionalResponse - -class TestBaseResponseBinaryAdditionalResponse(unittest.TestCase): - """BaseResponseBinaryAdditionalResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseBinaryAdditionalResponse: - """Test BaseResponseBinaryAdditionalResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseBinaryAdditionalResponse` - """ - model = BaseResponseBinaryAdditionalResponse() - if include_optional: - return BaseResponseBinaryAdditionalResponse( - status = True, - data = revengai.models.binary_additional_response.BinaryAdditionalResponse( - binary_id = 56, - details = revengai.models.binary_additional_details_data_response.BinaryAdditionalDetailsDataResponse( - file = revengai.models.file_metadata.FileMetadata( - size = 56, - friendly_size = '', - entropy = 1.337, - hashes = revengai.models.file_hashes.FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '', ), ), - pe = revengai.models.pe_model.PEModel( - type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), - architecture = '', - checksum = 56, - image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), - version_info = { }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), - number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), - dotnet = True, - debug_stripped = True, - import_hash = '', - export_hash = '', - rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ), ), - elf = revengai.models.elf_model.ELFModel( - file_type = '', - architecture = '', - endianness = '', - entry_point = 56, - entry_point_bytes = '', - import_hash = '', - export_hash = '', - build_id = '', - security = revengai.models.elf_security.ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, ), - sections = [ - revengai.models.elf_section.ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, ) - ], - segments = [ - revengai.models.elf_segment.ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, ) - ], - symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - dynamic_symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - relocations = [ - revengai.models.elf_relocation.ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, ) - ], - imports = revengai.models.elf_import_model.ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], ), - exported_functions = [ - '' - ], - dynamic_entries = [ - revengai.models.elf_dynamic_entry.ElfDynamicEntry( - tag = '', - value = 56, ) - ], - notes = [ - { } - ], - debug_info = { }, - version_info = { }, ), ), - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseBinaryAdditionalResponse( - ) - """ - - def testBaseResponseBinaryAdditionalResponse(self): - """Test BaseResponseBinaryAdditionalResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_binary_details_response.py b/test/test_base_response_binary_details_response.py deleted file mode 100644 index 1688ddf0..00000000 --- a/test/test_base_response_binary_details_response.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_binary_details_response import BaseResponseBinaryDetailsResponse - -class TestBaseResponseBinaryDetailsResponse(unittest.TestCase): - """BaseResponseBinaryDetailsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseBinaryDetailsResponse: - """Test BaseResponseBinaryDetailsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseBinaryDetailsResponse` - """ - model = BaseResponseBinaryDetailsResponse() - if include_optional: - return BaseResponseBinaryDetailsResponse( - status = True, - data = revengai.models.binary_details_response.BinaryDetailsResponse( - arch = '', - bits = 56, - crc32 = '', - class = '', - entropy = 1.337, - file_size = 56, - language = '', - md5 = '', - machine = '', - os = '', - sha1 = '', - sha256 = '', - ssdeep = '', - static = True, - stripped = True, - sub_sys = '', - tlsh = '', - type = '', - debug = True, - first_seen = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseBinaryDetailsResponse( - ) - """ - - def testBaseResponseBinaryDetailsResponse(self): - """Test BaseResponseBinaryDetailsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_binary_externals_response.py b/test/test_base_response_binary_externals_response.py deleted file mode 100644 index ce2df4b5..00000000 --- a/test/test_base_response_binary_externals_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_binary_externals_response import BaseResponseBinaryExternalsResponse - -class TestBaseResponseBinaryExternalsResponse(unittest.TestCase): - """BaseResponseBinaryExternalsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseBinaryExternalsResponse: - """Test BaseResponseBinaryExternalsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseBinaryExternalsResponse` - """ - model = BaseResponseBinaryExternalsResponse() - if include_optional: - return BaseResponseBinaryExternalsResponse( - status = True, - data = revengai.models.binary_externals_response.BinaryExternalsResponse( - sha_256_hash = '', - vt = { }, - vt_last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - mb = { }, - mb_last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseBinaryExternalsResponse( - ) - """ - - def testBaseResponseBinaryExternalsResponse(self): - """Test BaseResponseBinaryExternalsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_binary_search_response.py b/test/test_base_response_binary_search_response.py deleted file mode 100644 index 226069ba..00000000 --- a/test/test_base_response_binary_search_response.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_binary_search_response import BaseResponseBinarySearchResponse - -class TestBaseResponseBinarySearchResponse(unittest.TestCase): - """BaseResponseBinarySearchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseBinarySearchResponse: - """Test BaseResponseBinarySearchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseBinarySearchResponse` - """ - model = BaseResponseBinarySearchResponse() - if include_optional: - return BaseResponseBinarySearchResponse( - status = True, - data = revengai.models.binary_search_response.BinarySearchResponse( - results = [ - revengai.models.binary_search_result.BinarySearchResult( - binary_id = 56, - binary_name = '', - analysis_id = 56, - sha_256_hash = '', - tags = [ - '' - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseBinarySearchResponse( - ) - """ - - def testBaseResponseBinarySearchResponse(self): - """Test BaseResponseBinarySearchResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_bool.py b/test/test_base_response_bool.py deleted file mode 100644 index 36ba2fd7..00000000 --- a/test/test_base_response_bool.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_bool import BaseResponseBool - -class TestBaseResponseBool(unittest.TestCase): - """BaseResponseBool unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseBool: - """Test BaseResponseBool - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseBool` - """ - model = BaseResponseBool() - if include_optional: - return BaseResponseBool( - status = True, - data = True, - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseBool( - ) - """ - - def testBaseResponseBool(self): - """Test BaseResponseBool""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_callees_caller_functions_response.py b/test/test_base_response_callees_caller_functions_response.py deleted file mode 100644 index 435f8211..00000000 --- a/test/test_base_response_callees_caller_functions_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_callees_caller_functions_response import BaseResponseCalleesCallerFunctionsResponse - -class TestBaseResponseCalleesCallerFunctionsResponse(unittest.TestCase): - """BaseResponseCalleesCallerFunctionsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseCalleesCallerFunctionsResponse: - """Test BaseResponseCalleesCallerFunctionsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseCalleesCallerFunctionsResponse` - """ - model = BaseResponseCalleesCallerFunctionsResponse() - if include_optional: - return BaseResponseCalleesCallerFunctionsResponse( - status = True, - data = revengai.models.callees_caller_functions_response.CalleesCallerFunctionsResponse( - base_address = 56, - callees = [ - revengai.models.callee_function_info.CalleeFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - callee_name = 'FUN_001e1370', - callee_vaddr = '1971056', ) - ], - callers = [ - revengai.models.caller_function_info.CallerFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - caller_name = 'FUN_0002a5d8', - caller_vaddr = '173528', ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseCalleesCallerFunctionsResponse( - ) - """ - - def testBaseResponseCalleesCallerFunctionsResponse(self): - """Test BaseResponseCalleesCallerFunctionsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_capabilities.py b/test/test_base_response_capabilities.py deleted file mode 100644 index fc2322c7..00000000 --- a/test/test_base_response_capabilities.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_capabilities import BaseResponseCapabilities - -class TestBaseResponseCapabilities(unittest.TestCase): - """BaseResponseCapabilities unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseCapabilities: - """Test BaseResponseCapabilities - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseCapabilities` - """ - model = BaseResponseCapabilities() - if include_optional: - return BaseResponseCapabilities( - status = True, - data = revengai.models.capabilities.Capabilities( - capabilities = [ - revengai.models.capability.Capability( - function_name = '', - function_vaddr = 56, - capabilities = [ - '' - ], ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseCapabilities( - ) - """ - - def testBaseResponseCapabilities(self): - """Test BaseResponseCapabilities""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_capabilities_agent_response.py b/test/test_base_response_capabilities_agent_response.py deleted file mode 100644 index 8ce30d69..00000000 --- a/test/test_base_response_capabilities_agent_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_capabilities_agent_response import BaseResponseCapabilitiesAgentResponse - -class TestBaseResponseCapabilitiesAgentResponse(unittest.TestCase): - """BaseResponseCapabilitiesAgentResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseCapabilitiesAgentResponse: - """Test BaseResponseCapabilitiesAgentResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseCapabilitiesAgentResponse` - """ - model = BaseResponseCapabilitiesAgentResponse() - if include_optional: - return BaseResponseCapabilitiesAgentResponse( - status = True, - data = revengai.models.capabilities_agent_response.CapabilitiesAgentResponse( - capabilities = [ - revengai.models.capability.Capability( - function_vaddr = '', - description = '', - capability = '', - type = 'Execute', - function_name = '', - function_id = 56, ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseCapabilitiesAgentResponse( - ) - """ - - def testBaseResponseCapabilitiesAgentResponse(self): - """Test BaseResponseCapabilitiesAgentResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_child_binaries_response.py b/test/test_base_response_child_binaries_response.py deleted file mode 100644 index d1856c80..00000000 --- a/test/test_base_response_child_binaries_response.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_child_binaries_response import BaseResponseChildBinariesResponse - -class TestBaseResponseChildBinariesResponse(unittest.TestCase): - """BaseResponseChildBinariesResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseChildBinariesResponse: - """Test BaseResponseChildBinariesResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseChildBinariesResponse` - """ - model = BaseResponseChildBinariesResponse() - if include_optional: - return BaseResponseChildBinariesResponse( - status = True, - data = revengai.models.child_binaries_response.ChildBinariesResponse( - children = [ - revengai.models.relative_binary_response.RelativeBinaryResponse( - binary_id = 56, - analysis_id = 56, - name = '', - sha256 = '', ) - ], - parent = revengai.models.relative_binary_response.RelativeBinaryResponse( - binary_id = 56, - analysis_id = 56, - name = '', - sha256 = '', ), ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseChildBinariesResponse( - ) - """ - - def testBaseResponseChildBinariesResponse(self): - """Test BaseResponseChildBinariesResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_collection_binaries_update_response.py b/test/test_base_response_collection_binaries_update_response.py deleted file mode 100644 index 44c9f6e7..00000000 --- a/test/test_base_response_collection_binaries_update_response.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_collection_binaries_update_response import BaseResponseCollectionBinariesUpdateResponse - -class TestBaseResponseCollectionBinariesUpdateResponse(unittest.TestCase): - """BaseResponseCollectionBinariesUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseCollectionBinariesUpdateResponse: - """Test BaseResponseCollectionBinariesUpdateResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseCollectionBinariesUpdateResponse` - """ - model = BaseResponseCollectionBinariesUpdateResponse() - if include_optional: - return BaseResponseCollectionBinariesUpdateResponse( - status = True, - data = revengai.models.collection_binaries_update_response.CollectionBinariesUpdateResponse( - binaries = [ - revengai.models.collection_binary_response.CollectionBinaryResponse( - analysis_id = 56, - binary_id = 56, - binary_name = '', - owner_id = 56, - sha_256_hash = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_system_analysis = True, ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseCollectionBinariesUpdateResponse( - ) - """ - - def testBaseResponseCollectionBinariesUpdateResponse(self): - """Test BaseResponseCollectionBinariesUpdateResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_collection_response.py b/test/test_base_response_collection_response.py deleted file mode 100644 index 4e61ee2f..00000000 --- a/test/test_base_response_collection_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_collection_response import BaseResponseCollectionResponse - -class TestBaseResponseCollectionResponse(unittest.TestCase): - """BaseResponseCollectionResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseCollectionResponse: - """Test BaseResponseCollectionResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseCollectionResponse` - """ - model = BaseResponseCollectionResponse() - if include_optional: - return BaseResponseCollectionResponse( - status = True, - data = revengai.models.collection_response.CollectionResponse( - collection_id = 56, - collection_name = '', - description = '', - model_id = 56, - user_id = 56, - team_id = 56, - collection_scope = 'PRIVATE', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tags = [ - '' - ], - binaries = [ - null - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseCollectionResponse( - ) - """ - - def testBaseResponseCollectionResponse(self): - """Test BaseResponseCollectionResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_collection_search_response.py b/test/test_base_response_collection_search_response.py deleted file mode 100644 index 725f7490..00000000 --- a/test/test_base_response_collection_search_response.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_collection_search_response import BaseResponseCollectionSearchResponse - -class TestBaseResponseCollectionSearchResponse(unittest.TestCase): - """BaseResponseCollectionSearchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseCollectionSearchResponse: - """Test BaseResponseCollectionSearchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseCollectionSearchResponse` - """ - model = BaseResponseCollectionSearchResponse() - if include_optional: - return BaseResponseCollectionSearchResponse( - status = True, - data = revengai.models.collection_search_response.CollectionSearchResponse( - results = [ - revengai.models.collection_search_result.CollectionSearchResult( - collection_id = 56, - collection_name = '', - scope = '', - last_updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', - tags = [ - '' - ], - size = 56, - description = '', - team_id = 56, ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseCollectionSearchResponse( - ) - """ - - def testBaseResponseCollectionSearchResponse(self): - """Test BaseResponseCollectionSearchResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_collection_tags_update_response.py b/test/test_base_response_collection_tags_update_response.py deleted file mode 100644 index 50dfff0c..00000000 --- a/test/test_base_response_collection_tags_update_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_collection_tags_update_response import BaseResponseCollectionTagsUpdateResponse - -class TestBaseResponseCollectionTagsUpdateResponse(unittest.TestCase): - """BaseResponseCollectionTagsUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseCollectionTagsUpdateResponse: - """Test BaseResponseCollectionTagsUpdateResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseCollectionTagsUpdateResponse` - """ - model = BaseResponseCollectionTagsUpdateResponse() - if include_optional: - return BaseResponseCollectionTagsUpdateResponse( - status = True, - data = revengai.models.collection_tags_update_response.CollectionTagsUpdateResponse( - tags = [ - '' - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseCollectionTagsUpdateResponse( - ) - """ - - def testBaseResponseCollectionTagsUpdateResponse(self): - """Test BaseResponseCollectionTagsUpdateResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_comment_response.py b/test/test_base_response_comment_response.py deleted file mode 100644 index ed0c6423..00000000 --- a/test/test_base_response_comment_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_comment_response import BaseResponseCommentResponse - -class TestBaseResponseCommentResponse(unittest.TestCase): - """BaseResponseCommentResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseCommentResponse: - """Test BaseResponseCommentResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseCommentResponse` - """ - model = BaseResponseCommentResponse() - if include_optional: - return BaseResponseCommentResponse( - status = True, - data = revengai.models.comment_response.CommentResponse( - content = '', - id = 56, - user_id = 56, - resource_type = '', - resource_id = '', - context = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseCommentResponse( - ) - """ - - def testBaseResponseCommentResponse(self): - """Test BaseResponseCommentResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_config_response.py b/test/test_base_response_config_response.py deleted file mode 100644 index 11b304c8..00000000 --- a/test/test_base_response_config_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_config_response import BaseResponseConfigResponse - -class TestBaseResponseConfigResponse(unittest.TestCase): - """BaseResponseConfigResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseConfigResponse: - """Test BaseResponseConfigResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseConfigResponse` - """ - model = BaseResponseConfigResponse() - if include_optional: - return BaseResponseConfigResponse( - status = True, - data = revengai.models.config_response.ConfigResponse( - dashboard_url = '', - max_file_size_bytes = 56, - ai_decompiler_unsupported_languages = [ - '' - ], - ai_decompiler_supported_models = [ - '' - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseConfigResponse( - ) - """ - - def testBaseResponseConfigResponse(self): - """Test BaseResponseConfigResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_created.py b/test/test_base_response_created.py deleted file mode 100644 index 80af6c42..00000000 --- a/test/test_base_response_created.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_created import BaseResponseCreated - -class TestBaseResponseCreated(unittest.TestCase): - """BaseResponseCreated unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseCreated: - """Test BaseResponseCreated - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseCreated` - """ - model = BaseResponseCreated() - if include_optional: - return BaseResponseCreated( - status = True, - data = revengai.models.created.Created( - analysis_id = 56, - binary_id = 56, - reference = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseCreated( - ) - """ - - def testBaseResponseCreated(self): - """Test BaseResponseCreated""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_dict.py b/test/test_base_response_dict.py deleted file mode 100644 index 0cb7561e..00000000 --- a/test/test_base_response_dict.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_dict import BaseResponseDict - -class TestBaseResponseDict(unittest.TestCase): - """BaseResponseDict unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseDict: - """Test BaseResponseDict - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseDict` - """ - model = BaseResponseDict() - if include_optional: - return BaseResponseDict( - status = True, - data = { }, - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseDict( - ) - """ - - def testBaseResponseDict(self): - """Test BaseResponseDict""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_external_response.py b/test/test_base_response_external_response.py deleted file mode 100644 index 1a01997f..00000000 --- a/test/test_base_response_external_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_external_response import BaseResponseExternalResponse - -class TestBaseResponseExternalResponse(unittest.TestCase): - """BaseResponseExternalResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseExternalResponse: - """Test BaseResponseExternalResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseExternalResponse` - """ - model = BaseResponseExternalResponse() - if include_optional: - return BaseResponseExternalResponse( - status = True, - data = revengai.models.external_response.ExternalResponse( - sha_256_hash = '', - data = { }, - last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseExternalResponse( - ) - """ - - def testBaseResponseExternalResponse(self): - """Test BaseResponseExternalResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_function_blocks_response.py b/test/test_base_response_function_blocks_response.py deleted file mode 100644 index a6b5d067..00000000 --- a/test/test_base_response_function_blocks_response.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_function_blocks_response import BaseResponseFunctionBlocksResponse - -class TestBaseResponseFunctionBlocksResponse(unittest.TestCase): - """BaseResponseFunctionBlocksResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseFunctionBlocksResponse: - """Test BaseResponseFunctionBlocksResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseFunctionBlocksResponse` - """ - model = BaseResponseFunctionBlocksResponse() - if include_optional: - return BaseResponseFunctionBlocksResponse( - status = True, - data = revengai.models.function_blocks_response.FunctionBlocksResponse( - blocks = [ - revengai.models.function_block_response.FunctionBlockResponse( - asm = [ - '' - ], - id = 56, - min_addr = 56, - max_addr = 56, - destinations = [ - revengai.models.function_block_destination_response.FunctionBlockDestinationResponse( - destination_block_id = 56, - flowtype = '', - vaddr = '', ) - ], - comment = '', ) - ], - local_variables = [ - revengai.models.function_local_variable_response.FunctionLocalVariableResponse( - address = '', - d_type = '', - size = 56, - loc = '', - name = '', ) - ], - params = [ - revengai.models.function_param_response.FunctionParamResponse( - d_type = '', - loc = '', - addr = '', - length = 56, - name = '', ) - ], - overview_comment = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseFunctionBlocksResponse( - ) - """ - - def testBaseResponseFunctionBlocksResponse(self): - """Test BaseResponseFunctionBlocksResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_function_capability_response.py b/test/test_base_response_function_capability_response.py deleted file mode 100644 index 399dc0cc..00000000 --- a/test/test_base_response_function_capability_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_function_capability_response import BaseResponseFunctionCapabilityResponse - -class TestBaseResponseFunctionCapabilityResponse(unittest.TestCase): - """BaseResponseFunctionCapabilityResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseFunctionCapabilityResponse: - """Test BaseResponseFunctionCapabilityResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseFunctionCapabilityResponse` - """ - model = BaseResponseFunctionCapabilityResponse() - if include_optional: - return BaseResponseFunctionCapabilityResponse( - status = True, - data = revengai.models.function_capability_response.FunctionCapabilityResponse( - capabilities = [ - '' - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseFunctionCapabilityResponse( - ) - """ - - def testBaseResponseFunctionCapabilityResponse(self): - """Test BaseResponseFunctionCapabilityResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_function_data_types.py b/test/test_base_response_function_data_types.py deleted file mode 100644 index e6fb3bb1..00000000 --- a/test/test_base_response_function_data_types.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_function_data_types import BaseResponseFunctionDataTypes - -class TestBaseResponseFunctionDataTypes(unittest.TestCase): - """BaseResponseFunctionDataTypes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseFunctionDataTypes: - """Test BaseResponseFunctionDataTypes - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseFunctionDataTypes` - """ - model = BaseResponseFunctionDataTypes() - if include_optional: - return BaseResponseFunctionDataTypes( - status = True, - data = revengai.models.function_data_types.FunctionDataTypes( - completed = True, - status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), - data_types_version = 56, ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseFunctionDataTypes( - ) - """ - - def testBaseResponseFunctionDataTypes(self): - """Test BaseResponseFunctionDataTypes""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_function_data_types_list.py b/test/test_base_response_function_data_types_list.py deleted file mode 100644 index 24303e53..00000000 --- a/test/test_base_response_function_data_types_list.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_function_data_types_list import BaseResponseFunctionDataTypesList - -class TestBaseResponseFunctionDataTypesList(unittest.TestCase): - """BaseResponseFunctionDataTypesList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseFunctionDataTypesList: - """Test BaseResponseFunctionDataTypesList - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseFunctionDataTypesList` - """ - model = BaseResponseFunctionDataTypesList() - if include_optional: - return BaseResponseFunctionDataTypesList( - status = True, - data = revengai.models.function_data_types_list.FunctionDataTypesList( - total_count = 56, - total_data_types_count = 56, - items = [ - revengai.models.function_data_types_list_item.FunctionDataTypesListItem( - completed = True, - status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), - data_types_version = 56, - function_id = 56, ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseFunctionDataTypesList( - ) - """ - - def testBaseResponseFunctionDataTypesList(self): - """Test BaseResponseFunctionDataTypesList""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_function_search_response.py b/test/test_base_response_function_search_response.py deleted file mode 100644 index a3a517f4..00000000 --- a/test/test_base_response_function_search_response.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_function_search_response import BaseResponseFunctionSearchResponse - -class TestBaseResponseFunctionSearchResponse(unittest.TestCase): - """BaseResponseFunctionSearchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseFunctionSearchResponse: - """Test BaseResponseFunctionSearchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseFunctionSearchResponse` - """ - model = BaseResponseFunctionSearchResponse() - if include_optional: - return BaseResponseFunctionSearchResponse( - status = True, - data = revengai.models.function_search_response.FunctionSearchResponse( - results = [ - revengai.models.function_search_result.FunctionSearchResult( - function_id = 56, - function_name = '', - binary_name = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseFunctionSearchResponse( - ) - """ - - def testBaseResponseFunctionSearchResponse(self): - """Test BaseResponseFunctionSearchResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_function_strings_response.py b/test/test_base_response_function_strings_response.py deleted file mode 100644 index fffffc9a..00000000 --- a/test/test_base_response_function_strings_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_function_strings_response import BaseResponseFunctionStringsResponse - -class TestBaseResponseFunctionStringsResponse(unittest.TestCase): - """BaseResponseFunctionStringsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseFunctionStringsResponse: - """Test BaseResponseFunctionStringsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseFunctionStringsResponse` - """ - model = BaseResponseFunctionStringsResponse() - if include_optional: - return BaseResponseFunctionStringsResponse( - status = True, - data = revengai.models.function_strings_response.FunctionStringsResponse( - strings = [ - revengai.models.function_string.FunctionString( - value = '', - vaddr = 56, - source = 'SYSTEM', ) - ], - total_strings = 56, ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseFunctionStringsResponse( - ) - """ - - def testBaseResponseFunctionStringsResponse(self): - """Test BaseResponseFunctionStringsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_function_task_response.py b/test/test_base_response_function_task_response.py deleted file mode 100644 index 7a737805..00000000 --- a/test/test_base_response_function_task_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_function_task_response import BaseResponseFunctionTaskResponse - -class TestBaseResponseFunctionTaskResponse(unittest.TestCase): - """BaseResponseFunctionTaskResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseFunctionTaskResponse: - """Test BaseResponseFunctionTaskResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseFunctionTaskResponse` - """ - model = BaseResponseFunctionTaskResponse() - if include_optional: - return BaseResponseFunctionTaskResponse( - status = True, - data = revengai.models.function_task_response.FunctionTaskResponse( - status = 'UNINITIALISED', - error_message = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseFunctionTaskResponse( - ) - """ - - def testBaseResponseFunctionTaskResponse(self): - """Test BaseResponseFunctionTaskResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_functions_detail_response.py b/test/test_base_response_functions_detail_response.py deleted file mode 100644 index 66f3542a..00000000 --- a/test/test_base_response_functions_detail_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_functions_detail_response import BaseResponseFunctionsDetailResponse - -class TestBaseResponseFunctionsDetailResponse(unittest.TestCase): - """BaseResponseFunctionsDetailResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseFunctionsDetailResponse: - """Test BaseResponseFunctionsDetailResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseFunctionsDetailResponse` - """ - model = BaseResponseFunctionsDetailResponse() - if include_optional: - return BaseResponseFunctionsDetailResponse( - status = True, - data = revengai.models.functions_detail_response.FunctionsDetailResponse( - function_id = 56, - function_name = '', - function_name_mangled = '', - function_vaddr = 56, - function_size = 56, - analysis_id = 56, - binary_id = 56, - binary_name = '', - sha_256_hash = '', - debug_hash = '', - debug = True, ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseFunctionsDetailResponse( - ) - """ - - def testBaseResponseFunctionsDetailResponse(self): - """Test BaseResponseFunctionsDetailResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_generate_function_data_types.py b/test/test_base_response_generate_function_data_types.py deleted file mode 100644 index 289395c5..00000000 --- a/test/test_base_response_generate_function_data_types.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_generate_function_data_types import BaseResponseGenerateFunctionDataTypes - -class TestBaseResponseGenerateFunctionDataTypes(unittest.TestCase): - """BaseResponseGenerateFunctionDataTypes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseGenerateFunctionDataTypes: - """Test BaseResponseGenerateFunctionDataTypes - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseGenerateFunctionDataTypes` - """ - model = BaseResponseGenerateFunctionDataTypes() - if include_optional: - return BaseResponseGenerateFunctionDataTypes( - status = True, - data = revengai.models.generate_function_data_types.GenerateFunctionDataTypes( - queued = True, - reference = '', - data_types_list = revengai.models.generation_status_list.GenerationStatusList( - total_count = 56, - total_data_types_count = 56, - items = [ - revengai.models.function_data_types_status.FunctionDataTypesStatus( - function_id = 56, - completed = True, - status = '', ) - ], ), ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseGenerateFunctionDataTypes( - ) - """ - - def testBaseResponseGenerateFunctionDataTypes(self): - """Test BaseResponseGenerateFunctionDataTypes""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_generation_status_list.py b/test/test_base_response_generation_status_list.py deleted file mode 100644 index e7d8d98d..00000000 --- a/test/test_base_response_generation_status_list.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_generation_status_list import BaseResponseGenerationStatusList - -class TestBaseResponseGenerationStatusList(unittest.TestCase): - """BaseResponseGenerationStatusList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseGenerationStatusList: - """Test BaseResponseGenerationStatusList - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseGenerationStatusList` - """ - model = BaseResponseGenerationStatusList() - if include_optional: - return BaseResponseGenerationStatusList( - status = True, - data = revengai.models.generation_status_list.GenerationStatusList( - total_count = 56, - total_data_types_count = 56, - items = [ - revengai.models.function_data_types_status.FunctionDataTypesStatus( - function_id = 56, - completed = True, - status = '', ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseGenerationStatusList( - ) - """ - - def testBaseResponseGenerationStatusList(self): - """Test BaseResponseGenerationStatusList""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_get_ai_decompilation_task.py b/test/test_base_response_get_ai_decompilation_task.py deleted file mode 100644 index a2c81691..00000000 --- a/test/test_base_response_get_ai_decompilation_task.py +++ /dev/null @@ -1,127 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_get_ai_decompilation_task import BaseResponseGetAiDecompilationTask - -class TestBaseResponseGetAiDecompilationTask(unittest.TestCase): - """BaseResponseGetAiDecompilationTask unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseGetAiDecompilationTask: - """Test BaseResponseGetAiDecompilationTask - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseGetAiDecompilationTask` - """ - model = BaseResponseGetAiDecompilationTask() - if include_optional: - return BaseResponseGetAiDecompilationTask( - status = True, - data = revengai.models.get_ai_decompilation_task.GetAiDecompilationTask( - status = 'uninitialised', - decompilation = '', - raw_decompilation = '', - function_mapping = { - 'key' : revengai.models.inverse_function_map_item.InverseFunctionMapItem( - name = '', - addr = null, - is_external = True, ) - }, - function_mapping_full = revengai.models.function_mapping_full.FunctionMappingFull( - inverse_string_map = { - 'key' : revengai.models.inverse_string_map_item.InverseStringMapItem( - string = '', - addr = 56, ) - }, - inverse_function_map = { - 'key' : revengai.models.inverse_function_map_item.InverseFunctionMapItem( - name = '', - addr = null, - is_external = True, ) - }, - unmatched_functions = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_custom_types = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_strings = { - 'key' : - }, - unmatched_vars = { - 'key' : - }, - unmatched_go_to_labels = { - 'key' : - }, - unmatched_custom_function_pointers = { - 'key' : - }, - unmatched_variadic_lists = { - 'key' : - }, - unmatched_enums = { - 'key' : - }, - unmatched_global_vars = { - 'key' : - }, - fields = { - 'key' : { - 'key' : - } - }, - unmatched_external_vars = { - 'key' : - }, - user_override_mappings = { - 'key' : '' - }, ), - summary = '', - ai_summary = '', - raw_ai_summary = '', - predicted_function_name = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseGetAiDecompilationTask( - ) - """ - - def testBaseResponseGetAiDecompilationTask(self): - """Test BaseResponseGetAiDecompilationTask""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_get_me_response.py b/test/test_base_response_get_me_response.py deleted file mode 100644 index 37c4a349..00000000 --- a/test/test_base_response_get_me_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_get_me_response import BaseResponseGetMeResponse - -class TestBaseResponseGetMeResponse(unittest.TestCase): - """BaseResponseGetMeResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseGetMeResponse: - """Test BaseResponseGetMeResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseGetMeResponse` - """ - model = BaseResponseGetMeResponse() - if include_optional: - return BaseResponseGetMeResponse( - status = True, - data = revengai.models.get_me_response.GetMeResponse( - username = '', - user_id = 56, - first_name = '', - last_name = '', - email = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tutorial_seen = True, - role = 'USER', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseGetMeResponse( - ) - """ - - def testBaseResponseGetMeResponse(self): - """Test BaseResponseGetMeResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_get_public_user_response.py b/test/test_base_response_get_public_user_response.py deleted file mode 100644 index 60aa2d74..00000000 --- a/test/test_base_response_get_public_user_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_get_public_user_response import BaseResponseGetPublicUserResponse - -class TestBaseResponseGetPublicUserResponse(unittest.TestCase): - """BaseResponseGetPublicUserResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseGetPublicUserResponse: - """Test BaseResponseGetPublicUserResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseGetPublicUserResponse` - """ - model = BaseResponseGetPublicUserResponse() - if include_optional: - return BaseResponseGetPublicUserResponse( - status = True, - data = revengai.models.get_public_user_response.GetPublicUserResponse( - username = '', - user_id = 56, ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseGetPublicUserResponse( - ) - """ - - def testBaseResponseGetPublicUserResponse(self): - """Test BaseResponseGetPublicUserResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_list_callees_caller_functions_response.py b/test/test_base_response_list_callees_caller_functions_response.py deleted file mode 100644 index 442dbd6c..00000000 --- a/test/test_base_response_list_callees_caller_functions_response.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_list_callees_caller_functions_response import BaseResponseListCalleesCallerFunctionsResponse - -class TestBaseResponseListCalleesCallerFunctionsResponse(unittest.TestCase): - """BaseResponseListCalleesCallerFunctionsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseListCalleesCallerFunctionsResponse: - """Test BaseResponseListCalleesCallerFunctionsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseListCalleesCallerFunctionsResponse` - """ - model = BaseResponseListCalleesCallerFunctionsResponse() - if include_optional: - return BaseResponseListCalleesCallerFunctionsResponse( - status = True, - data = [ - revengai.models.callees_caller_functions_response.CalleesCallerFunctionsResponse( - base_address = 56, - callees = [ - revengai.models.callee_function_info.CalleeFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - callee_name = 'FUN_001e1370', - callee_vaddr = '1971056', ) - ], - callers = [ - revengai.models.caller_function_info.CallerFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - caller_name = 'FUN_0002a5d8', - caller_vaddr = '173528', ) - ], ) - ], - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseListCalleesCallerFunctionsResponse( - ) - """ - - def testBaseResponseListCalleesCallerFunctionsResponse(self): - """Test BaseResponseListCalleesCallerFunctionsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_list_collection_results.py b/test/test_base_response_list_collection_results.py deleted file mode 100644 index d58ad1fd..00000000 --- a/test/test_base_response_list_collection_results.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_list_collection_results import BaseResponseListCollectionResults - -class TestBaseResponseListCollectionResults(unittest.TestCase): - """BaseResponseListCollectionResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseListCollectionResults: - """Test BaseResponseListCollectionResults - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseListCollectionResults` - """ - model = BaseResponseListCollectionResults() - if include_optional: - return BaseResponseListCollectionResults( - status = True, - data = revengai.models.list_collection_results.ListCollectionResults( - results = [ - revengai.models.collection_list_item.CollectionListItem( - collection_name = '', - description = '', - collection_scope = '', - collection_owner = '', - official_collection = True, - collection_tags = [ - '' - ], - collection_size = 56, - collection_id = 56, - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_name = '', - team_id = 56, ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseListCollectionResults( - ) - """ - - def testBaseResponseListCollectionResults(self): - """Test BaseResponseListCollectionResults""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_list_comment_response.py b/test/test_base_response_list_comment_response.py deleted file mode 100644 index 8cd92ecf..00000000 --- a/test/test_base_response_list_comment_response.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_list_comment_response import BaseResponseListCommentResponse - -class TestBaseResponseListCommentResponse(unittest.TestCase): - """BaseResponseListCommentResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseListCommentResponse: - """Test BaseResponseListCommentResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseListCommentResponse` - """ - model = BaseResponseListCommentResponse() - if include_optional: - return BaseResponseListCommentResponse( - status = True, - data = [ - revengai.models.comment_response.CommentResponse( - content = '', - id = 56, - user_id = 56, - resource_type = '', - resource_id = '', - context = null, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseListCommentResponse( - ) - """ - - def testBaseResponseListCommentResponse(self): - """Test BaseResponseListCommentResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_list_die_match.py b/test/test_base_response_list_die_match.py deleted file mode 100644 index 15e6c387..00000000 --- a/test/test_base_response_list_die_match.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_list_die_match import BaseResponseListDieMatch - -class TestBaseResponseListDieMatch(unittest.TestCase): - """BaseResponseListDieMatch unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseListDieMatch: - """Test BaseResponseListDieMatch - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseListDieMatch` - """ - model = BaseResponseListDieMatch() - if include_optional: - return BaseResponseListDieMatch( - status = True, - data = [ - revengai.models.die_match.DieMatch( - name = '', - type = '', - display = '', - version = '', ) - ], - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseListDieMatch( - ) - """ - - def testBaseResponseListDieMatch(self): - """Test BaseResponseListDieMatch""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_list_function_name_history.py b/test/test_base_response_list_function_name_history.py deleted file mode 100644 index 9ff026ed..00000000 --- a/test/test_base_response_list_function_name_history.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_list_function_name_history import BaseResponseListFunctionNameHistory - -class TestBaseResponseListFunctionNameHistory(unittest.TestCase): - """BaseResponseListFunctionNameHistory unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseListFunctionNameHistory: - """Test BaseResponseListFunctionNameHistory - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseListFunctionNameHistory` - """ - model = BaseResponseListFunctionNameHistory() - if include_optional: - return BaseResponseListFunctionNameHistory( - status = True, - data = [ - revengai.models.function_name_history.FunctionNameHistory( - history_id = 56, - change_made_by = '', - function_name = '', - mangled_name = '', - is_debug = True, - source_type = 'SYSTEM', - created_at = '', ) - ], - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseListFunctionNameHistory( - ) - """ - - def testBaseResponseListFunctionNameHistory(self): - """Test BaseResponseListFunctionNameHistory""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_list_sbom.py b/test/test_base_response_list_sbom.py deleted file mode 100644 index 4ad02297..00000000 --- a/test/test_base_response_list_sbom.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_list_sbom import BaseResponseListSBOM - -class TestBaseResponseListSBOM(unittest.TestCase): - """BaseResponseListSBOM unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseListSBOM: - """Test BaseResponseListSBOM - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseListSBOM` - """ - model = BaseResponseListSBOM() - if include_optional: - return BaseResponseListSBOM( - status = True, - data = [ - revengai.models.sbom.SBOM( - packages = [ - revengai.models.sbom_package.SBOMPackage( - name = '', - version = '', ) - ], - imported_libs = [ - '' - ], ) - ], - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseListSBOM( - ) - """ - - def testBaseResponseListSBOM(self): - """Test BaseResponseListSBOM""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_list_user_activity_response.py b/test/test_base_response_list_user_activity_response.py deleted file mode 100644 index 223299f5..00000000 --- a/test/test_base_response_list_user_activity_response.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_list_user_activity_response import BaseResponseListUserActivityResponse - -class TestBaseResponseListUserActivityResponse(unittest.TestCase): - """BaseResponseListUserActivityResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseListUserActivityResponse: - """Test BaseResponseListUserActivityResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseListUserActivityResponse` - """ - model = BaseResponseListUserActivityResponse() - if include_optional: - return BaseResponseListUserActivityResponse( - status = True, - data = [ - revengai.models.user_activity_response.UserActivityResponse( - actions = '', - activity_scope = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '', - sources = '', - username = '', ) - ], - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseListUserActivityResponse( - ) - """ - - def testBaseResponseListUserActivityResponse(self): - """Test BaseResponseListUserActivityResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_logs.py b/test/test_base_response_logs.py deleted file mode 100644 index cd6618c0..00000000 --- a/test/test_base_response_logs.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_logs import BaseResponseLogs - -class TestBaseResponseLogs(unittest.TestCase): - """BaseResponseLogs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseLogs: - """Test BaseResponseLogs - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseLogs` - """ - model = BaseResponseLogs() - if include_optional: - return BaseResponseLogs( - status = True, - data = revengai.models.logs.Logs( - logs = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseLogs( - ) - """ - - def testBaseResponseLogs(self): - """Test BaseResponseLogs""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_models_response.py b/test/test_base_response_models_response.py deleted file mode 100644 index 2449058b..00000000 --- a/test/test_base_response_models_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_models_response import BaseResponseModelsResponse - -class TestBaseResponseModelsResponse(unittest.TestCase): - """BaseResponseModelsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseModelsResponse: - """Test BaseResponseModelsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseModelsResponse` - """ - model = BaseResponseModelsResponse() - if include_optional: - return BaseResponseModelsResponse( - status = True, - data = revengai.models.models_response.ModelsResponse( - models = [ - '' - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseModelsResponse( - ) - """ - - def testBaseResponseModelsResponse(self): - """Test BaseResponseModelsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_params.py b/test/test_base_response_params.py deleted file mode 100644 index 28afc911..00000000 --- a/test/test_base_response_params.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_params import BaseResponseParams - -class TestBaseResponseParams(unittest.TestCase): - """BaseResponseParams unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseParams: - """Test BaseResponseParams - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseParams` - """ - model = BaseResponseParams() - if include_optional: - return BaseResponseParams( - status = True, - data = revengai.models.params.Params( - debug_hash = '', - binary_size = 56, - architecture = '', - binary_type = '', - binary_format = '', - binary_dynamic = True, - model_name = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseParams( - ) - """ - - def testBaseResponseParams(self): - """Test BaseResponseParams""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_queued_workflow_task_response.py b/test/test_base_response_queued_workflow_task_response.py deleted file mode 100644 index b570c94a..00000000 --- a/test/test_base_response_queued_workflow_task_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_queued_workflow_task_response import BaseResponseQueuedWorkflowTaskResponse - -class TestBaseResponseQueuedWorkflowTaskResponse(unittest.TestCase): - """BaseResponseQueuedWorkflowTaskResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseQueuedWorkflowTaskResponse: - """Test BaseResponseQueuedWorkflowTaskResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseQueuedWorkflowTaskResponse` - """ - model = BaseResponseQueuedWorkflowTaskResponse() - if include_optional: - return BaseResponseQueuedWorkflowTaskResponse( - status = True, - data = revengai.models.queued_workflow_task_response.QueuedWorkflowTaskResponse( - task_id = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseQueuedWorkflowTaskResponse( - ) - """ - - def testBaseResponseQueuedWorkflowTaskResponse(self): - """Test BaseResponseQueuedWorkflowTaskResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_recent.py b/test/test_base_response_recent.py deleted file mode 100644 index 7d7128ff..00000000 --- a/test/test_base_response_recent.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_recent import BaseResponseRecent - -class TestBaseResponseRecent(unittest.TestCase): - """BaseResponseRecent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseRecent: - """Test BaseResponseRecent - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseRecent` - """ - model = BaseResponseRecent() - if include_optional: - return BaseResponseRecent( - status = True, - data = revengai.models.recent.Recent( - results = [ - revengai.models.analysis_record.AnalysisRecord( - analysis_id = 56, - analysis_scope = '', - binary_id = 56, - model_id = 56, - model_name = '', - status = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_owner = True, - binary_name = '', - sha_256_hash = '', - function_boundaries_hash = '', - binary_size = 56, - username = '', - dynamic_execution_status = 'PENDING', - dynamic_execution_task_id = 56, - base_address = 56, - tags = [ - revengai.models.tag_item.TagItem( - name = '', - origin = '', - collection_id = 56, ) - ], ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseRecent( - ) - """ - - def testBaseResponseRecent(self): - """Test BaseResponseRecent""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_report_analysis_response.py b/test/test_base_response_report_analysis_response.py deleted file mode 100644 index 25b274b8..00000000 --- a/test/test_base_response_report_analysis_response.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_report_analysis_response import BaseResponseReportAnalysisResponse - -class TestBaseResponseReportAnalysisResponse(unittest.TestCase): - """BaseResponseReportAnalysisResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseReportAnalysisResponse: - """Test BaseResponseReportAnalysisResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseReportAnalysisResponse` - """ - model = BaseResponseReportAnalysisResponse() - if include_optional: - return BaseResponseReportAnalysisResponse( - status = True, - data = revengai.models.report_analysis_response.ReportAnalysisResponse( - summary = '', - software_type = 'Malicious', - total_number_of_functions = 56, - number_of_analysed_functions = 56, - attack_flow_summary = '', - iocs = [ - revengai.models.ioc.IOC( - type = 'ip', - value = '', - description = '', - source = '', - function_id = 56, - function_name = '', ) - ], - executable_techniques = [ - revengai.models.mitre_technique.MITRETechnique( - start_addr = '', - end_addr = '', - function_addr = '', - technique_id = '', - technique_name = '', - description = '', - function_id = 56, - function_name = '', - technique_url = '', - technique_description = '', ) - ], - yara_rule = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseReportAnalysisResponse( - ) - """ - - def testBaseResponseReportAnalysisResponse(self): - """Test BaseResponseReportAnalysisResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_status.py b/test/test_base_response_status.py deleted file mode 100644 index 521994f8..00000000 --- a/test/test_base_response_status.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_status import BaseResponseStatus - -class TestBaseResponseStatus(unittest.TestCase): - """BaseResponseStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseStatus: - """Test BaseResponseStatus - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseStatus` - """ - model = BaseResponseStatus() - if include_optional: - return BaseResponseStatus( - status = True, - data = revengai.models.status.Status( - analysis_id = 56, - analysis_status = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseStatus( - ) - """ - - def testBaseResponseStatus(self): - """Test BaseResponseStatus""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_str.py b/test/test_base_response_str.py deleted file mode 100644 index 2a89a351..00000000 --- a/test/test_base_response_str.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_str import BaseResponseStr - -class TestBaseResponseStr(unittest.TestCase): - """BaseResponseStr unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseStr: - """Test BaseResponseStr - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseStr` - """ - model = BaseResponseStr() - if include_optional: - return BaseResponseStr( - status = True, - data = '', - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseStr( - ) - """ - - def testBaseResponseStr(self): - """Test BaseResponseStr""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_tag_search_response.py b/test/test_base_response_tag_search_response.py deleted file mode 100644 index 95e9c880..00000000 --- a/test/test_base_response_tag_search_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_tag_search_response import BaseResponseTagSearchResponse - -class TestBaseResponseTagSearchResponse(unittest.TestCase): - """BaseResponseTagSearchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseTagSearchResponse: - """Test BaseResponseTagSearchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseTagSearchResponse` - """ - model = BaseResponseTagSearchResponse() - if include_optional: - return BaseResponseTagSearchResponse( - status = True, - data = revengai.models.tag_search_response.TagSearchResponse( - results = [ - revengai.models.tag_search_result.TagSearchResult( - tag_id = 56, - tag = '', ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseTagSearchResponse( - ) - """ - - def testBaseResponseTagSearchResponse(self): - """Test BaseResponseTagSearchResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_task_response.py b/test/test_base_response_task_response.py deleted file mode 100644 index d9be699b..00000000 --- a/test/test_base_response_task_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_task_response import BaseResponseTaskResponse - -class TestBaseResponseTaskResponse(unittest.TestCase): - """BaseResponseTaskResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseTaskResponse: - """Test BaseResponseTaskResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseTaskResponse` - """ - model = BaseResponseTaskResponse() - if include_optional: - return BaseResponseTaskResponse( - status = True, - data = revengai.models.task_response.TaskResponse( - status = 'UNINITIALISED', - error_message = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseTaskResponse( - ) - """ - - def testBaseResponseTaskResponse(self): - """Test BaseResponseTaskResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_task_status_response.py b/test/test_base_response_task_status_response.py deleted file mode 100644 index 59723593..00000000 --- a/test/test_base_response_task_status_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_task_status_response import BaseResponseTaskStatusResponse - -class TestBaseResponseTaskStatusResponse(unittest.TestCase): - """BaseResponseTaskStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseTaskStatusResponse: - """Test BaseResponseTaskStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseTaskStatusResponse` - """ - model = BaseResponseTaskStatusResponse() - if include_optional: - return BaseResponseTaskStatusResponse( - status = True, - data = revengai.models.task_status_response.TaskStatusResponse( - status = 'UNINITIALISED', - log_history = [ - [ - null - ] - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseTaskStatusResponse( - ) - """ - - def testBaseResponseTaskStatusResponse(self): - """Test BaseResponseTaskStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_triage_report_response.py b/test/test_base_response_triage_report_response.py deleted file mode 100644 index 5e6cfecd..00000000 --- a/test/test_base_response_triage_report_response.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_triage_report_response import BaseResponseTriageReportResponse - -class TestBaseResponseTriageReportResponse(unittest.TestCase): - """BaseResponseTriageReportResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseTriageReportResponse: - """Test BaseResponseTriageReportResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseTriageReportResponse` - """ - model = BaseResponseTriageReportResponse() - if include_optional: - return BaseResponseTriageReportResponse( - status = True, - data = revengai.models.triage_report_response.TriageReportResponse( - software_score = 0, - summary = '', - functions = [ - revengai.models.triage_function_response.TriageFunctionResponse( - id = 56, - address = 56, - summary = '', - score = 0, - capabilities = [ - 'packing_and_obfuscation' - ], ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseTriageReportResponse( - ) - """ - - def testBaseResponseTriageReportResponse(self): - """Test BaseResponseTriageReportResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_union_get_ai_decompilation_rating_response_none_type.py b/test/test_base_response_union_get_ai_decompilation_rating_response_none_type.py deleted file mode 100644 index 7b1bb99d..00000000 --- a/test/test_base_response_union_get_ai_decompilation_rating_response_none_type.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_union_get_ai_decompilation_rating_response_none_type import BaseResponseUnionGetAiDecompilationRatingResponseNoneType - -class TestBaseResponseUnionGetAiDecompilationRatingResponseNoneType(unittest.TestCase): - """BaseResponseUnionGetAiDecompilationRatingResponseNoneType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseUnionGetAiDecompilationRatingResponseNoneType: - """Test BaseResponseUnionGetAiDecompilationRatingResponseNoneType - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseUnionGetAiDecompilationRatingResponseNoneType` - """ - model = BaseResponseUnionGetAiDecompilationRatingResponseNoneType() - if include_optional: - return BaseResponseUnionGetAiDecompilationRatingResponseNoneType( - status = True, - data = revengai.models.get_ai_decompilation_rating_response.GetAiDecompilationRatingResponse( - rating = 'POSITIVE', - reason = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseUnionGetAiDecompilationRatingResponseNoneType( - ) - """ - - def testBaseResponseUnionGetAiDecompilationRatingResponseNoneType(self): - """Test BaseResponseUnionGetAiDecompilationRatingResponseNoneType""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_upload_response.py b/test/test_base_response_upload_response.py deleted file mode 100644 index b9a562c9..00000000 --- a/test/test_base_response_upload_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_upload_response import BaseResponseUploadResponse - -class TestBaseResponseUploadResponse(unittest.TestCase): - """BaseResponseUploadResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseUploadResponse: - """Test BaseResponseUploadResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseUploadResponse` - """ - model = BaseResponseUploadResponse() - if include_optional: - return BaseResponseUploadResponse( - status = True, - data = revengai.models.upload_response.UploadResponse( - sha_256_hash = '', - file_type = 'BINARY', - filename = '', ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseUploadResponse( - ) - """ - - def testBaseResponseUploadResponse(self): - """Test BaseResponseUploadResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_vulnerabilities.py b/test/test_base_response_vulnerabilities.py deleted file mode 100644 index 5ef4cce0..00000000 --- a/test/test_base_response_vulnerabilities.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_vulnerabilities import BaseResponseVulnerabilities - -class TestBaseResponseVulnerabilities(unittest.TestCase): - """BaseResponseVulnerabilities unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseVulnerabilities: - """Test BaseResponseVulnerabilities - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseVulnerabilities` - """ - model = BaseResponseVulnerabilities() - if include_optional: - return BaseResponseVulnerabilities( - status = True, - data = revengai.models.vulnerabilities.Vulnerabilities( - vulnerabilities = [ - revengai.models.vulnerability.Vulnerability( - vendor = '', - product = '', - version = '', - cve_number = '', - severity = 'CRITICAL', - source = '', - cvss_version = '', - cvss_vector = '', - remarks = '', - score = 1.337, - is_unknown = True, ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseVulnerabilities( - ) - """ - - def testBaseResponseVulnerabilities(self): - """Test BaseResponseVulnerabilities""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_base_response_xref_response.py b/test/test_base_response_xref_response.py deleted file mode 100644 index 5a92bcab..00000000 --- a/test/test_base_response_xref_response.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.base_response_xref_response import BaseResponseXrefResponse - -class TestBaseResponseXrefResponse(unittest.TestCase): - """BaseResponseXrefResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BaseResponseXrefResponse: - """Test BaseResponseXrefResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BaseResponseXrefResponse` - """ - model = BaseResponseXrefResponse() - if include_optional: - return BaseResponseXrefResponse( - status = True, - data = revengai.models.xref_response.XrefResponse( - xref_to_list = [ - revengai.models.xref_to_response.XrefToResponse( - value = '', - is_scalar = True, - is_call = True, - is_data = True, - is_string = True, - raw_data = '', - segment = revengai.models.segment_info.SegmentInfo( - name = '', - r = True, - w = True, - x = True, - start = 56, - end = 56, ), - orig_str_encoding = '', - xref_from = '', ) - ], - xref_from_list = [ - revengai.models.xref_from_response.XrefFromResponse( - value = '', - is_scalar = True, - is_call = True, - is_data = True, - is_string = True, - raw_data = '', - orig_str_encoding = '', - xref_to = '', ) - ], ), - message = '', - errors = [ - revengai.models.error_model.ErrorModel( - code = '', - message = '', ) - ], - meta = revengai.models.meta_model.MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ), ) - ) - else: - return BaseResponseXrefResponse( - ) - """ - - def testBaseResponseXrefResponse(self): - """Test BaseResponseXrefResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_basic.py b/test/test_basic.py deleted file mode 100644 index 94947c3b..00000000 --- a/test/test_basic.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.basic import Basic - -class TestBasic(unittest.TestCase): - """Basic unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Basic: - """Test Basic - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Basic` - """ - model = Basic() - if include_optional: - return Basic( - binary_id = 56, - binary_name = '', - binary_size = 56, - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - sha_256_hash = '', - model_name = '', - model_id = 56, - owner_username = '', - is_system = True, - analysis_scope = '', - is_owner = True, - debug = True, - function_count = 56, - is_advanced = True, - base_address = 56, - binary_uuid = '', - sequencer_version = '' - ) - else: - return Basic( - binary_id = 56, - binary_name = '', - binary_size = 56, - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - sha_256_hash = '', - model_name = '', - model_id = 56, - owner_username = '', - is_system = True, - analysis_scope = '', - is_owner = True, - debug = True, - function_count = 56, - is_advanced = True, - base_address = 56, - ) - """ - - def testBasic(self): - """Test Basic""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binaries_api.py b/test/test_binaries_api.py deleted file mode 100644 index aeaa6c54..00000000 --- a/test/test_binaries_api.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.binaries_api import BinariesApi - - -class TestBinariesApi(unittest.TestCase): - """BinariesApi unit test stubs""" - - def setUp(self) -> None: - self.api = BinariesApi() - - def tearDown(self) -> None: - pass - - def test_download_zipped_binary(self) -> None: - """Test case for download_zipped_binary - - Downloads a zipped binary with password protection - """ - pass - - def test_get_binary_additional_details(self) -> None: - """Test case for get_binary_additional_details - - Gets the additional details of a binary - """ - pass - - def test_get_binary_additional_details_status(self) -> None: - """Test case for get_binary_additional_details_status - - Gets the status of the additional details task for a binary - """ - pass - - def test_get_binary_details(self) -> None: - """Test case for get_binary_details - - Gets the details of a binary - """ - pass - - def test_get_binary_die_info(self) -> None: - """Test case for get_binary_die_info - - Gets the die info of a binary - """ - pass - - def test_get_binary_externals(self) -> None: - """Test case for get_binary_externals - - Gets the external details of a binary - """ - pass - - def test_get_binary_related_status(self) -> None: - """Test case for get_binary_related_status - - Gets the status of the unpack binary task for a binary - """ - pass - - def test_get_related_binaries(self) -> None: - """Test case for get_related_binaries - - Gets the related binaries of a binary. - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binaries_related_status_response.py b/test/test_binaries_related_status_response.py deleted file mode 100644 index b4ba8bb8..00000000 --- a/test/test_binaries_related_status_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binaries_related_status_response import BinariesRelatedStatusResponse - -class TestBinariesRelatedStatusResponse(unittest.TestCase): - """BinariesRelatedStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BinariesRelatedStatusResponse: - """Test BinariesRelatedStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BinariesRelatedStatusResponse` - """ - model = BinariesRelatedStatusResponse() - if include_optional: - return BinariesRelatedStatusResponse( - status = '' - ) - else: - return BinariesRelatedStatusResponse( - status = '', - ) - """ - - def testBinariesRelatedStatusResponse(self): - """Test BinariesRelatedStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binaries_task_status.py b/test/test_binaries_task_status.py deleted file mode 100644 index 1f8b672a..00000000 --- a/test/test_binaries_task_status.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binaries_task_status import BinariesTaskStatus - -class TestBinariesTaskStatus(unittest.TestCase): - """BinariesTaskStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBinariesTaskStatus(self): - """Test BinariesTaskStatus""" - # inst = BinariesTaskStatus() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binary_additional_details_data_response.py b/test/test_binary_additional_details_data_response.py deleted file mode 100644 index 8f0c5491..00000000 --- a/test/test_binary_additional_details_data_response.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binary_additional_details_data_response import BinaryAdditionalDetailsDataResponse - -class TestBinaryAdditionalDetailsDataResponse(unittest.TestCase): - """BinaryAdditionalDetailsDataResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BinaryAdditionalDetailsDataResponse: - """Test BinaryAdditionalDetailsDataResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BinaryAdditionalDetailsDataResponse` - """ - model = BinaryAdditionalDetailsDataResponse() - if include_optional: - return BinaryAdditionalDetailsDataResponse( - file = revengai.models.file_metadata.FileMetadata( - size = 56, - friendly_size = '', - entropy = 1.337, - hashes = revengai.models.file_hashes.FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '', ), ), - pe = revengai.models.pe_model.PEModel( - type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), - architecture = '', - checksum = 56, - image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), - version_info = { }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), - number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), - dotnet = True, - debug_stripped = True, - import_hash = '', - export_hash = '', - rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ), ), - elf = revengai.models.elf_model.ELFModel( - file_type = '', - architecture = '', - endianness = '', - entry_point = 56, - entry_point_bytes = '', - import_hash = '', - export_hash = '', - build_id = '', - security = revengai.models.elf_security.ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, ), - sections = [ - revengai.models.elf_section.ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, ) - ], - segments = [ - revengai.models.elf_segment.ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, ) - ], - symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - dynamic_symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - relocations = [ - revengai.models.elf_relocation.ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, ) - ], - imports = revengai.models.elf_import_model.ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], ), - exported_functions = [ - '' - ], - dynamic_entries = [ - revengai.models.elf_dynamic_entry.ElfDynamicEntry( - tag = '', - value = 56, ) - ], - notes = [ - { } - ], - debug_info = { }, - version_info = { }, ) - ) - else: - return BinaryAdditionalDetailsDataResponse( - file = revengai.models.file_metadata.FileMetadata( - size = 56, - friendly_size = '', - entropy = 1.337, - hashes = revengai.models.file_hashes.FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '', ), ), - ) - """ - - def testBinaryAdditionalDetailsDataResponse(self): - """Test BinaryAdditionalDetailsDataResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binary_additional_response.py b/test/test_binary_additional_response.py deleted file mode 100644 index 530a4eda..00000000 --- a/test/test_binary_additional_response.py +++ /dev/null @@ -1,424 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binary_additional_response import BinaryAdditionalResponse - -class TestBinaryAdditionalResponse(unittest.TestCase): - """BinaryAdditionalResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BinaryAdditionalResponse: - """Test BinaryAdditionalResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BinaryAdditionalResponse` - """ - model = BinaryAdditionalResponse() - if include_optional: - return BinaryAdditionalResponse( - binary_id = 56, - details = revengai.models.binary_additional_details_data_response.BinaryAdditionalDetailsDataResponse( - file = revengai.models.file_metadata.FileMetadata( - size = 56, - friendly_size = '', - entropy = 1.337, - hashes = revengai.models.file_hashes.FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '', ), ), - pe = revengai.models.pe_model.PEModel( - type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), - architecture = '', - checksum = 56, - image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), - version_info = { }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), - number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), - dotnet = True, - debug_stripped = True, - import_hash = '', - export_hash = '', - rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ), ), - elf = revengai.models.elf_model.ELFModel( - file_type = '', - architecture = '', - endianness = '', - entry_point = 56, - entry_point_bytes = '', - import_hash = '', - export_hash = '', - build_id = '', - security = revengai.models.elf_security.ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, ), - sections = [ - revengai.models.elf_section.ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, ) - ], - segments = [ - revengai.models.elf_segment.ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, ) - ], - symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - dynamic_symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - relocations = [ - revengai.models.elf_relocation.ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, ) - ], - imports = revengai.models.elf_import_model.ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], ), - exported_functions = [ - '' - ], - dynamic_entries = [ - revengai.models.elf_dynamic_entry.ElfDynamicEntry( - tag = '', - value = 56, ) - ], - notes = [ - { } - ], - debug_info = { }, - version_info = { }, ), ), - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return BinaryAdditionalResponse( - binary_id = 56, - details = revengai.models.binary_additional_details_data_response.BinaryAdditionalDetailsDataResponse( - file = revengai.models.file_metadata.FileMetadata( - size = 56, - friendly_size = '', - entropy = 1.337, - hashes = revengai.models.file_hashes.FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '', ), ), - pe = revengai.models.pe_model.PEModel( - type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), - architecture = '', - checksum = 56, - image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), - version_info = { }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), - number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), - dotnet = True, - debug_stripped = True, - import_hash = '', - export_hash = '', - rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ), ), - elf = revengai.models.elf_model.ELFModel( - file_type = '', - architecture = '', - endianness = '', - entry_point = 56, - entry_point_bytes = '', - import_hash = '', - export_hash = '', - build_id = '', - security = revengai.models.elf_security.ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, ), - sections = [ - revengai.models.elf_section.ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, ) - ], - segments = [ - revengai.models.elf_segment.ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, ) - ], - symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - dynamic_symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - relocations = [ - revengai.models.elf_relocation.ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, ) - ], - imports = revengai.models.elf_import_model.ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], ), - exported_functions = [ - '' - ], - dynamic_entries = [ - revengai.models.elf_dynamic_entry.ElfDynamicEntry( - tag = '', - value = 56, ) - ], - notes = [ - { } - ], - debug_info = { }, - version_info = { }, ), ), - ) - """ - - def testBinaryAdditionalResponse(self): - """Test BinaryAdditionalResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binary_config.py b/test/test_binary_config.py deleted file mode 100644 index 5fc53dfc..00000000 --- a/test/test_binary_config.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binary_config import BinaryConfig - -class TestBinaryConfig(unittest.TestCase): - """BinaryConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BinaryConfig: - """Test BinaryConfig - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BinaryConfig` - """ - model = BinaryConfig() - if include_optional: - return BinaryConfig( - isa = 'x86', - platform = 'linux', - file_format = 'pe' - ) - else: - return BinaryConfig( - ) - """ - - def testBinaryConfig(self): - """Test BinaryConfig""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binary_details_response.py b/test/test_binary_details_response.py deleted file mode 100644 index b01dd582..00000000 --- a/test/test_binary_details_response.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binary_details_response import BinaryDetailsResponse - -class TestBinaryDetailsResponse(unittest.TestCase): - """BinaryDetailsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BinaryDetailsResponse: - """Test BinaryDetailsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BinaryDetailsResponse` - """ - model = BinaryDetailsResponse() - if include_optional: - return BinaryDetailsResponse( - arch = '', - bits = 56, - crc32 = '', - var_class = '', - entropy = 1.337, - file_size = 56, - language = '', - md5 = '', - machine = '', - os = '', - sha1 = '', - sha256 = '', - ssdeep = '', - static = True, - stripped = True, - sub_sys = '', - tlsh = '', - type = '', - debug = True, - first_seen = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return BinaryDetailsResponse( - arch = '', - bits = 56, - crc32 = '', - var_class = '', - entropy = 1.337, - file_size = 56, - language = '', - md5 = '', - machine = '', - os = '', - sha1 = '', - sha256 = '', - ssdeep = '', - static = True, - stripped = True, - sub_sys = '', - tlsh = '', - type = '', - debug = True, - first_seen = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testBinaryDetailsResponse(self): - """Test BinaryDetailsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binary_externals_response.py b/test/test_binary_externals_response.py deleted file mode 100644 index 79cdef07..00000000 --- a/test/test_binary_externals_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binary_externals_response import BinaryExternalsResponse - -class TestBinaryExternalsResponse(unittest.TestCase): - """BinaryExternalsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BinaryExternalsResponse: - """Test BinaryExternalsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BinaryExternalsResponse` - """ - model = BinaryExternalsResponse() - if include_optional: - return BinaryExternalsResponse( - sha_256_hash = '', - vt = { }, - vt_last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - mb = { }, - mb_last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return BinaryExternalsResponse( - sha_256_hash = '', - vt = { }, - vt_last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - mb = { }, - mb_last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testBinaryExternalsResponse(self): - """Test BinaryExternalsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binary_search_response.py b/test/test_binary_search_response.py deleted file mode 100644 index 10e3a158..00000000 --- a/test/test_binary_search_response.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binary_search_response import BinarySearchResponse - -class TestBinarySearchResponse(unittest.TestCase): - """BinarySearchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BinarySearchResponse: - """Test BinarySearchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BinarySearchResponse` - """ - model = BinarySearchResponse() - if include_optional: - return BinarySearchResponse( - results = [ - revengai.models.binary_search_result.BinarySearchResult( - binary_id = 56, - binary_name = '', - analysis_id = 56, - sha_256_hash = '', - tags = [ - '' - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', ) - ] - ) - else: - return BinarySearchResponse( - results = [ - revengai.models.binary_search_result.BinarySearchResult( - binary_id = 56, - binary_name = '', - analysis_id = 56, - sha_256_hash = '', - tags = [ - '' - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', ) - ], - ) - """ - - def testBinarySearchResponse(self): - """Test BinarySearchResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binary_search_result.py b/test/test_binary_search_result.py deleted file mode 100644 index e3064ee8..00000000 --- a/test/test_binary_search_result.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binary_search_result import BinarySearchResult - -class TestBinarySearchResult(unittest.TestCase): - """BinarySearchResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BinarySearchResult: - """Test BinarySearchResult - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BinarySearchResult` - """ - model = BinarySearchResult() - if include_optional: - return BinarySearchResult( - binary_id = 56, - binary_name = '', - analysis_id = 56, - sha_256_hash = '', - tags = [ - '' - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '' - ) - else: - return BinarySearchResult( - binary_id = 56, - binary_name = '', - analysis_id = 56, - sha_256_hash = '', - tags = [ - '' - ], - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', - ) - """ - - def testBinarySearchResult(self): - """Test BinarySearchResult""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_binary_task_status.py b/test/test_binary_task_status.py deleted file mode 100644 index 0bf0b42d..00000000 --- a/test/test_binary_task_status.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.binary_task_status import BinaryTaskStatus - -class TestBinaryTaskStatus(unittest.TestCase): - """BinaryTaskStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBinaryTaskStatus(self): - """Test BinaryTaskStatus""" - # inst = BinaryTaskStatus() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_bulk_delete_analyses_request.py b/test/test_bulk_delete_analyses_request.py deleted file mode 100644 index 4327a344..00000000 --- a/test/test_bulk_delete_analyses_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.bulk_delete_analyses_request import BulkDeleteAnalysesRequest - -class TestBulkDeleteAnalysesRequest(unittest.TestCase): - """BulkDeleteAnalysesRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> BulkDeleteAnalysesRequest: - """Test BulkDeleteAnalysesRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BulkDeleteAnalysesRequest` - """ - model = BulkDeleteAnalysesRequest() - if include_optional: - return BulkDeleteAnalysesRequest( - analysis_ids = [ - 56 - ] - ) - else: - return BulkDeleteAnalysesRequest( - analysis_ids = [ - 56 - ], - ) - """ - - def testBulkDeleteAnalysesRequest(self): - """Test BulkDeleteAnalysesRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_callee_function_info.py b/test/test_callee_function_info.py deleted file mode 100644 index e15e1f88..00000000 --- a/test/test_callee_function_info.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.callee_function_info import CalleeFunctionInfo - -class TestCalleeFunctionInfo(unittest.TestCase): - """CalleeFunctionInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CalleeFunctionInfo: - """Test CalleeFunctionInfo - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CalleeFunctionInfo` - """ - model = CalleeFunctionInfo() - if include_optional: - return CalleeFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - callee_name = 'FUN_001e1370', - callee_vaddr = '1971056' - ) - else: - return CalleeFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - callee_name = 'FUN_001e1370', - callee_vaddr = '1971056', - ) - """ - - def testCalleeFunctionInfo(self): - """Test CalleeFunctionInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_callees_caller_functions_response.py b/test/test_callees_caller_functions_response.py deleted file mode 100644 index 9a9fb1a8..00000000 --- a/test/test_callees_caller_functions_response.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.callees_caller_functions_response import CalleesCallerFunctionsResponse - -class TestCalleesCallerFunctionsResponse(unittest.TestCase): - """CalleesCallerFunctionsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CalleesCallerFunctionsResponse: - """Test CalleesCallerFunctionsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CalleesCallerFunctionsResponse` - """ - model = CalleesCallerFunctionsResponse() - if include_optional: - return CalleesCallerFunctionsResponse( - base_address = 56, - callees = [ - revengai.models.callee_function_info.CalleeFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - callee_name = 'FUN_001e1370', - callee_vaddr = '1971056', ) - ], - callers = [ - revengai.models.caller_function_info.CallerFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - caller_name = 'FUN_0002a5d8', - caller_vaddr = '173528', ) - ] - ) - else: - return CalleesCallerFunctionsResponse( - base_address = 56, - callees = [ - revengai.models.callee_function_info.CalleeFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - callee_name = 'FUN_001e1370', - callee_vaddr = '1971056', ) - ], - callers = [ - revengai.models.caller_function_info.CallerFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - caller_name = 'FUN_0002a5d8', - caller_vaddr = '173528', ) - ], - ) - """ - - def testCalleesCallerFunctionsResponse(self): - """Test CalleesCallerFunctionsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_caller_function_info.py b/test/test_caller_function_info.py deleted file mode 100644 index bed68ac0..00000000 --- a/test/test_caller_function_info.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.caller_function_info import CallerFunctionInfo - -class TestCallerFunctionInfo(unittest.TestCase): - """CallerFunctionInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CallerFunctionInfo: - """Test CallerFunctionInfo - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CallerFunctionInfo` - """ - model = CallerFunctionInfo() - if include_optional: - return CallerFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - is_external = True, - caller_name = 'FUN_0002a5d8', - caller_vaddr = '173528' - ) - else: - return CallerFunctionInfo( - function_id = 56, - matched_function_id = 56, - dashboard_url = '', - caller_name = 'FUN_0002a5d8', - caller_vaddr = '173528', - ) - """ - - def testCallerFunctionInfo(self): - """Test CallerFunctionInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_capabilities.py b/test/test_capabilities.py deleted file mode 100644 index 995193e6..00000000 --- a/test/test_capabilities.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.capabilities import Capabilities - -class TestCapabilities(unittest.TestCase): - """Capabilities unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Capabilities: - """Test Capabilities - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Capabilities` - """ - model = Capabilities() - if include_optional: - return Capabilities( - capabilities = [ - revengai.models.capability.Capability( - function_name = '', - function_vaddr = 56, - capabilities = [ - '' - ], ) - ] - ) - else: - return Capabilities( - capabilities = [ - revengai.models.capability.Capability( - function_name = '', - function_vaddr = 56, - capabilities = [ - '' - ], ) - ], - ) - """ - - def testCapabilities(self): - """Test Capabilities""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_capabilities_agent_response.py b/test/test_capabilities_agent_response.py deleted file mode 100644 index 35bfd82b..00000000 --- a/test/test_capabilities_agent_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.capabilities_agent_response import CapabilitiesAgentResponse - -class TestCapabilitiesAgentResponse(unittest.TestCase): - """CapabilitiesAgentResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CapabilitiesAgentResponse: - """Test CapabilitiesAgentResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CapabilitiesAgentResponse` - """ - model = CapabilitiesAgentResponse() - if include_optional: - return CapabilitiesAgentResponse( - capabilities = [ - revengai.models.capability.Capability( - function_vaddr = '', - description = '', - capability = '', - type = 'Execute', - function_name = '', - function_id = 56, ) - ] - ) - else: - return CapabilitiesAgentResponse( - capabilities = [ - revengai.models.capability.Capability( - function_vaddr = '', - description = '', - capability = '', - type = 'Execute', - function_name = '', - function_id = 56, ) - ], - ) - """ - - def testCapabilitiesAgentResponse(self): - """Test CapabilitiesAgentResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_child_binaries_response.py b/test/test_child_binaries_response.py deleted file mode 100644 index 0061697e..00000000 --- a/test/test_child_binaries_response.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.child_binaries_response import ChildBinariesResponse - -class TestChildBinariesResponse(unittest.TestCase): - """ChildBinariesResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ChildBinariesResponse: - """Test ChildBinariesResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ChildBinariesResponse` - """ - model = ChildBinariesResponse() - if include_optional: - return ChildBinariesResponse( - children = [ - revengai.models.relative_binary_response.RelativeBinaryResponse( - binary_id = 56, - analysis_id = 56, - name = '', - sha256 = '', ) - ], - parent = revengai.models.relative_binary_response.RelativeBinaryResponse( - binary_id = 56, - analysis_id = 56, - name = '', - sha256 = '', ) - ) - else: - return ChildBinariesResponse( - children = [ - revengai.models.relative_binary_response.RelativeBinaryResponse( - binary_id = 56, - analysis_id = 56, - name = '', - sha256 = '', ) - ], - ) - """ - - def testChildBinariesResponse(self): - """Test ChildBinariesResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_code_signature_model.py b/test/test_code_signature_model.py deleted file mode 100644 index 407464e9..00000000 --- a/test/test_code_signature_model.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.code_signature_model import CodeSignatureModel - -class TestCodeSignatureModel(unittest.TestCase): - """CodeSignatureModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CodeSignatureModel: - """Test CodeSignatureModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CodeSignatureModel` - """ - model = CodeSignatureModel() - if include_optional: - return CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ] - ) - else: - return CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], - ) - """ - - def testCodeSignatureModel(self): - """Test CodeSignatureModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_binaries_update_request.py b/test/test_collection_binaries_update_request.py deleted file mode 100644 index 4b1d886b..00000000 --- a/test/test_collection_binaries_update_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_binaries_update_request import CollectionBinariesUpdateRequest - -class TestCollectionBinariesUpdateRequest(unittest.TestCase): - """CollectionBinariesUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionBinariesUpdateRequest: - """Test CollectionBinariesUpdateRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionBinariesUpdateRequest` - """ - model = CollectionBinariesUpdateRequest() - if include_optional: - return CollectionBinariesUpdateRequest( - binaries = [ - 56 - ] - ) - else: - return CollectionBinariesUpdateRequest( - binaries = [ - 56 - ], - ) - """ - - def testCollectionBinariesUpdateRequest(self): - """Test CollectionBinariesUpdateRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_binaries_update_response.py b/test/test_collection_binaries_update_response.py deleted file mode 100644 index 6ffc379a..00000000 --- a/test/test_collection_binaries_update_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_binaries_update_response import CollectionBinariesUpdateResponse - -class TestCollectionBinariesUpdateResponse(unittest.TestCase): - """CollectionBinariesUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionBinariesUpdateResponse: - """Test CollectionBinariesUpdateResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionBinariesUpdateResponse` - """ - model = CollectionBinariesUpdateResponse() - if include_optional: - return CollectionBinariesUpdateResponse( - binaries = [ - revengai.models.collection_binary_response.CollectionBinaryResponse( - analysis_id = 56, - binary_id = 56, - binary_name = '', - owner_id = 56, - sha_256_hash = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_system_analysis = True, ) - ] - ) - else: - return CollectionBinariesUpdateResponse( - binaries = [ - revengai.models.collection_binary_response.CollectionBinaryResponse( - analysis_id = 56, - binary_id = 56, - binary_name = '', - owner_id = 56, - sha_256_hash = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_system_analysis = True, ) - ], - ) - """ - - def testCollectionBinariesUpdateResponse(self): - """Test CollectionBinariesUpdateResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_binary_response.py b/test/test_collection_binary_response.py deleted file mode 100644 index ff141b2b..00000000 --- a/test/test_collection_binary_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_binary_response import CollectionBinaryResponse - -class TestCollectionBinaryResponse(unittest.TestCase): - """CollectionBinaryResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionBinaryResponse: - """Test CollectionBinaryResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionBinaryResponse` - """ - model = CollectionBinaryResponse() - if include_optional: - return CollectionBinaryResponse( - analysis_id = 56, - binary_id = 56, - binary_name = '', - owner_id = 56, - sha_256_hash = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_system_analysis = True - ) - else: - return CollectionBinaryResponse( - analysis_id = 56, - binary_id = 56, - binary_name = '', - owner_id = 56, - sha_256_hash = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_system_analysis = True, - ) - """ - - def testCollectionBinaryResponse(self): - """Test CollectionBinaryResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_create_request.py b/test/test_collection_create_request.py deleted file mode 100644 index a4038d56..00000000 --- a/test/test_collection_create_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_create_request import CollectionCreateRequest - -class TestCollectionCreateRequest(unittest.TestCase): - """CollectionCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionCreateRequest: - """Test CollectionCreateRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionCreateRequest` - """ - model = CollectionCreateRequest() - if include_optional: - return CollectionCreateRequest( - collection_name = '', - description = '', - collection_scope = 'PRIVATE', - tags = [ - '' - ], - binaries = [ - 56 - ], - model_id = 56 - ) - else: - return CollectionCreateRequest( - collection_name = '', - description = '', - model_id = 56, - ) - """ - - def testCollectionCreateRequest(self): - """Test CollectionCreateRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_list_item.py b/test/test_collection_list_item.py deleted file mode 100644 index d54239a5..00000000 --- a/test/test_collection_list_item.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_list_item import CollectionListItem - -class TestCollectionListItem(unittest.TestCase): - """CollectionListItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionListItem: - """Test CollectionListItem - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionListItem` - """ - model = CollectionListItem() - if include_optional: - return CollectionListItem( - collection_name = '', - description = '', - collection_scope = '', - collection_owner = '', - official_collection = True, - collection_tags = [ - '' - ], - collection_size = 56, - collection_id = 56, - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_name = '', - team_id = 56 - ) - else: - return CollectionListItem( - collection_name = '', - description = '', - collection_scope = '', - collection_owner = '', - official_collection = True, - collection_size = 56, - collection_id = 56, - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_name = '', - ) - """ - - def testCollectionListItem(self): - """Test CollectionListItem""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_response.py b/test/test_collection_response.py deleted file mode 100644 index fe46fb0a..00000000 --- a/test/test_collection_response.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_response import CollectionResponse - -class TestCollectionResponse(unittest.TestCase): - """CollectionResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionResponse: - """Test CollectionResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionResponse` - """ - model = CollectionResponse() - if include_optional: - return CollectionResponse( - collection_id = 56, - collection_name = '', - description = '', - model_id = 56, - user_id = 56, - team_id = 56, - collection_scope = 'PRIVATE', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tags = [ - '' - ], - binaries = [ - null - ] - ) - else: - return CollectionResponse( - collection_id = 56, - collection_name = '', - description = '', - model_id = 56, - user_id = 56, - collection_scope = 'PRIVATE', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testCollectionResponse(self): - """Test CollectionResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_response_binaries_inner.py b/test/test_collection_response_binaries_inner.py deleted file mode 100644 index d86e085d..00000000 --- a/test/test_collection_response_binaries_inner.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_response_binaries_inner import CollectionResponseBinariesInner - -class TestCollectionResponseBinariesInner(unittest.TestCase): - """CollectionResponseBinariesInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionResponseBinariesInner: - """Test CollectionResponseBinariesInner - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionResponseBinariesInner` - """ - model = CollectionResponseBinariesInner() - if include_optional: - return CollectionResponseBinariesInner( - analysis_id = 56, - binary_id = 56, - binary_name = '', - owner_id = 56, - sha_256_hash = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_system_analysis = True - ) - else: - return CollectionResponseBinariesInner( - analysis_id = 56, - binary_id = 56, - binary_name = '', - owner_id = 56, - sha_256_hash = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_system_analysis = True, - ) - """ - - def testCollectionResponseBinariesInner(self): - """Test CollectionResponseBinariesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_scope.py b/test/test_collection_scope.py deleted file mode 100644 index de1d48dd..00000000 --- a/test/test_collection_scope.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_scope import CollectionScope - -class TestCollectionScope(unittest.TestCase): - """CollectionScope unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCollectionScope(self): - """Test CollectionScope""" - # inst = CollectionScope() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_search_response.py b/test/test_collection_search_response.py deleted file mode 100644 index 01359ba8..00000000 --- a/test/test_collection_search_response.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_search_response import CollectionSearchResponse - -class TestCollectionSearchResponse(unittest.TestCase): - """CollectionSearchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionSearchResponse: - """Test CollectionSearchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionSearchResponse` - """ - model = CollectionSearchResponse() - if include_optional: - return CollectionSearchResponse( - results = [ - revengai.models.collection_search_result.CollectionSearchResult( - collection_id = 56, - collection_name = '', - scope = '', - last_updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', - tags = [ - '' - ], - size = 56, - description = '', - team_id = 56, ) - ] - ) - else: - return CollectionSearchResponse( - results = [ - revengai.models.collection_search_result.CollectionSearchResult( - collection_id = 56, - collection_name = '', - scope = '', - last_updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', - tags = [ - '' - ], - size = 56, - description = '', - team_id = 56, ) - ], - ) - """ - - def testCollectionSearchResponse(self): - """Test CollectionSearchResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_search_result.py b/test/test_collection_search_result.py deleted file mode 100644 index 8ff149af..00000000 --- a/test/test_collection_search_result.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_search_result import CollectionSearchResult - -class TestCollectionSearchResult(unittest.TestCase): - """CollectionSearchResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionSearchResult: - """Test CollectionSearchResult - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionSearchResult` - """ - model = CollectionSearchResult() - if include_optional: - return CollectionSearchResult( - collection_id = 56, - collection_name = '', - scope = '', - last_updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', - tags = [ - '' - ], - size = 56, - description = '', - team_id = 56 - ) - else: - return CollectionSearchResult( - collection_id = 56, - collection_name = '', - scope = '', - last_updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', - description = '', - ) - """ - - def testCollectionSearchResult(self): - """Test CollectionSearchResult""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_tags_update_request.py b/test/test_collection_tags_update_request.py deleted file mode 100644 index bbf2609f..00000000 --- a/test/test_collection_tags_update_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_tags_update_request import CollectionTagsUpdateRequest - -class TestCollectionTagsUpdateRequest(unittest.TestCase): - """CollectionTagsUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionTagsUpdateRequest: - """Test CollectionTagsUpdateRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionTagsUpdateRequest` - """ - model = CollectionTagsUpdateRequest() - if include_optional: - return CollectionTagsUpdateRequest( - tags = [ - '' - ] - ) - else: - return CollectionTagsUpdateRequest( - tags = [ - '' - ], - ) - """ - - def testCollectionTagsUpdateRequest(self): - """Test CollectionTagsUpdateRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_tags_update_response.py b/test/test_collection_tags_update_response.py deleted file mode 100644 index 38860dc0..00000000 --- a/test/test_collection_tags_update_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_tags_update_response import CollectionTagsUpdateResponse - -class TestCollectionTagsUpdateResponse(unittest.TestCase): - """CollectionTagsUpdateResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionTagsUpdateResponse: - """Test CollectionTagsUpdateResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionTagsUpdateResponse` - """ - model = CollectionTagsUpdateResponse() - if include_optional: - return CollectionTagsUpdateResponse( - tags = [ - '' - ] - ) - else: - return CollectionTagsUpdateResponse( - tags = [ - '' - ], - ) - """ - - def testCollectionTagsUpdateResponse(self): - """Test CollectionTagsUpdateResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collection_update_request.py b/test/test_collection_update_request.py deleted file mode 100644 index 99152dcc..00000000 --- a/test/test_collection_update_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.collection_update_request import CollectionUpdateRequest - -class TestCollectionUpdateRequest(unittest.TestCase): - """CollectionUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CollectionUpdateRequest: - """Test CollectionUpdateRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CollectionUpdateRequest` - """ - model = CollectionUpdateRequest() - if include_optional: - return CollectionUpdateRequest( - collection_name = '', - description = '', - collection_scope = 'PRIVATE' - ) - else: - return CollectionUpdateRequest( - ) - """ - - def testCollectionUpdateRequest(self): - """Test CollectionUpdateRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_collections_api.py b/test/test_collections_api.py deleted file mode 100644 index fcce9422..00000000 --- a/test/test_collections_api.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.collections_api import CollectionsApi - - -class TestCollectionsApi(unittest.TestCase): - """CollectionsApi unit test stubs""" - - def setUp(self) -> None: - self.api = CollectionsApi() - - def tearDown(self) -> None: - pass - - def test_create_collection(self) -> None: - """Test case for create_collection - - Creates new collection information - """ - pass - - def test_delete_collection(self) -> None: - """Test case for delete_collection - - Deletes a collection - """ - pass - - def test_get_collection(self) -> None: - """Test case for get_collection - - Returns a collection - """ - pass - - def test_list_collections(self) -> None: - """Test case for list_collections - - Gets basic collections information - """ - pass - - def test_update_collection(self) -> None: - """Test case for update_collection - - Updates a collection - """ - pass - - def test_update_collection_binaries(self) -> None: - """Test case for update_collection_binaries - - Updates a collection binaries - """ - pass - - def test_update_collection_tags(self) -> None: - """Test case for update_collection_tags - - Updates a collection tags - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_comment_base.py b/test/test_comment_base.py deleted file mode 100644 index cbc4f3ad..00000000 --- a/test/test_comment_base.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.comment_base import CommentBase - -class TestCommentBase(unittest.TestCase): - """CommentBase unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommentBase: - """Test CommentBase - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CommentBase` - """ - model = CommentBase() - if include_optional: - return CommentBase( - content = '' - ) - else: - return CommentBase( - content = '', - ) - """ - - def testCommentBase(self): - """Test CommentBase""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_comment_response.py b/test/test_comment_response.py deleted file mode 100644 index 7b6a56dc..00000000 --- a/test/test_comment_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.comment_response import CommentResponse - -class TestCommentResponse(unittest.TestCase): - """CommentResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommentResponse: - """Test CommentResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CommentResponse` - """ - model = CommentResponse() - if include_optional: - return CommentResponse( - content = '', - id = 56, - user_id = 56, - resource_type = '', - resource_id = '', - context = None, - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return CommentResponse( - content = '', - id = 56, - user_id = 56, - resource_type = '', - resource_id = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testCommentResponse(self): - """Test CommentResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_comment_update_request.py b/test/test_comment_update_request.py deleted file mode 100644 index 877c8e91..00000000 --- a/test/test_comment_update_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.comment_update_request import CommentUpdateRequest - -class TestCommentUpdateRequest(unittest.TestCase): - """CommentUpdateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommentUpdateRequest: - """Test CommentUpdateRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CommentUpdateRequest` - """ - model = CommentUpdateRequest() - if include_optional: - return CommentUpdateRequest( - content = '' - ) - else: - return CommentUpdateRequest( - content = '', - ) - """ - - def testCommentUpdateRequest(self): - """Test CommentUpdateRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_comments_data.py b/test/test_comments_data.py deleted file mode 100644 index 23b90c31..00000000 --- a/test/test_comments_data.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.comments_data import CommentsData - -class TestCommentsData(unittest.TestCase): - """CommentsData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommentsData: - """Test CommentsData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CommentsData` - """ - model = CommentsData() - if include_optional: - return CommentsData( - var_schema = '', - inline_comments = [ - { } - ], - task_status = 'UNINITIALISED' - ) - else: - return CommentsData( - inline_comments = [ - { } - ], - task_status = 'UNINITIALISED', - ) - """ - - def testCommentsData(self): - """Test CommentsData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_config_api.py b/test/test_config_api.py deleted file mode 100644 index 51232a03..00000000 --- a/test/test_config_api.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.config_api import ConfigApi - - -class TestConfigApi(unittest.TestCase): - """ConfigApi unit test stubs""" - - def setUp(self) -> None: - self.api = ConfigApi() - - def tearDown(self) -> None: - pass - - def test_get_config(self) -> None: - """Test case for get_config - - Get Config - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_config_response.py b/test/test_config_response.py deleted file mode 100644 index bc21e783..00000000 --- a/test/test_config_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.config_response import ConfigResponse - -class TestConfigResponse(unittest.TestCase): - """ConfigResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ConfigResponse: - """Test ConfigResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConfigResponse` - """ - model = ConfigResponse() - if include_optional: - return ConfigResponse( - dashboard_url = '', - max_file_size_bytes = 56, - ai_decompiler_unsupported_languages = [ - '' - ], - ai_decompiler_supported_models = [ - '' - ] - ) - else: - return ConfigResponse( - max_file_size_bytes = 56, - ai_decompiler_unsupported_languages = [ - '' - ], - ai_decompiler_supported_models = [ - '' - ], - ) - """ - - def testConfigResponse(self): - """Test ConfigResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_confirm_tool_input_body.py b/test/test_confirm_tool_input_body.py deleted file mode 100644 index 6991adf1..00000000 --- a/test/test_confirm_tool_input_body.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.confirm_tool_input_body import ConfirmToolInputBody - -class TestConfirmToolInputBody(unittest.TestCase): - """ConfirmToolInputBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ConfirmToolInputBody: - """Test ConfirmToolInputBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConfirmToolInputBody` - """ - model = ConfirmToolInputBody() - if include_optional: - return ConfirmToolInputBody( - var_schema = '', - approved = True - ) - else: - return ConfirmToolInputBody( - approved = True, - ) - """ - - def testConfirmToolInputBody(self): - """Test ConfirmToolInputBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_connection.py b/test/test_connection.py deleted file mode 100644 index df5d1c45..00000000 --- a/test/test_connection.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.connection import Connection - -class TestConnection(unittest.TestCase): - """Connection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Connection: - """Test Connection - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Connection` - """ - model = Connection() - if include_optional: - return Connection( - events = [ - { - 'key' : null - } - ], - local_ip = '', - local_port = None, - protocol = '', - remote_ip = '', - remote_port = None - ) - else: - return Connection( - local_ip = '', - local_port = None, - protocol = '', - remote_ip = '', - remote_port = None, - ) - """ - - def testConnection(self): - """Test Connection""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_context.py b/test/test_context.py deleted file mode 100644 index 19304c5a..00000000 --- a/test/test_context.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.context import Context - -class TestContext(unittest.TestCase): - """Context unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Context: - """Test Context - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Context` - """ - model = Context() - if include_optional: - return Context( - start_line = 56, - end_line = 56 - ) - else: - return Context( - start_line = 56, - end_line = 56, - ) - """ - - def testContext(self): - """Test Context""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conversation.py b/test/test_conversation.py deleted file mode 100644 index f5b725a2..00000000 --- a/test/test_conversation.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.conversation import Conversation - -class TestConversation(unittest.TestCase): - """Conversation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Conversation: - """Test Conversation - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Conversation` - """ - model = Conversation() - if include_optional: - return Conversation( - var_schema = '', - context = None, - conversation_uuid = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - title = '', - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = 56 - ) - else: - return Conversation( - conversation_uuid = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - title = '', - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = 56, - ) - """ - - def testConversation(self): - """Test Conversation""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conversation_context.py b/test/test_conversation_context.py deleted file mode 100644 index b6a34887..00000000 --- a/test/test_conversation_context.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.conversation_context import ConversationContext - -class TestConversationContext(unittest.TestCase): - """ConversationContext unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ConversationContext: - """Test ConversationContext - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConversationContext` - """ - model = ConversationContext() - if include_optional: - return ConversationContext( - analysis_id = 56, - function_id = 56 - ) - else: - return ConversationContext( - ) - """ - - def testConversationContext(self): - """Test ConversationContext""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conversation_with_events.py b/test/test_conversation_with_events.py deleted file mode 100644 index c2bf1b3a..00000000 --- a/test/test_conversation_with_events.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.conversation_with_events import ConversationWithEvents - -class TestConversationWithEvents(unittest.TestCase): - """ConversationWithEvents unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ConversationWithEvents: - """Test ConversationWithEvents - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConversationWithEvents` - """ - model = ConversationWithEvents() - if include_optional: - return ConversationWithEvents( - var_schema = '', - context = None, - conversation_uuid = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - events = [ - { } - ], - title = '', - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = 56 - ) - else: - return ConversationWithEvents( - conversation_uuid = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - events = [ - { } - ], - title = '', - updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user_id = 56, - ) - """ - - def testConversationWithEvents(self): - """Test ConversationWithEvents""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conversations_api.py b/test/test_conversations_api.py deleted file mode 100644 index edbde3eb..00000000 --- a/test/test_conversations_api.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.conversations_api import ConversationsApi - - -class TestConversationsApi(unittest.TestCase): - """ConversationsApi unit test stubs""" - - def setUp(self) -> None: - self.api = ConversationsApi() - - def tearDown(self) -> None: - pass - - def test_cancel_run(self) -> None: - """Test case for cancel_run - - Cancel an active run - """ - pass - - def test_confirm_tool(self) -> None: - """Test case for confirm_tool - - Approve or reject a pending tool confirmation - """ - pass - - def test_create_conversation(self) -> None: - """Test case for create_conversation - - Create a new conversation - """ - pass - - def test_get_conversation(self) -> None: - """Test case for get_conversation - - Get a conversation with its events - """ - pass - - def test_list_conversations(self) -> None: - """Test case for list_conversations - - List conversations for the authenticated user - """ - pass - - def test_send_message(self) -> None: - """Test case for send_message - - Send a message and start an agentic run - """ - pass - - def test_stream_events(self) -> None: - """Test case for stream_events - - Stream conversation events (SSE) - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_create_ai_decomp_output_body.py b/test/test_create_ai_decomp_output_body.py deleted file mode 100644 index 5877db65..00000000 --- a/test/test_create_ai_decomp_output_body.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.create_ai_decomp_output_body import CreateAIDecompOutputBody - -class TestCreateAIDecompOutputBody(unittest.TestCase): - """CreateAIDecompOutputBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CreateAIDecompOutputBody: - """Test CreateAIDecompOutputBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CreateAIDecompOutputBody` - """ - model = CreateAIDecompOutputBody() - if include_optional: - return CreateAIDecompOutputBody( - var_schema = '', - status = True - ) - else: - return CreateAIDecompOutputBody( - status = True, - ) - """ - - def testCreateAIDecompOutputBody(self): - """Test CreateAIDecompOutputBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_create_conversation_request.py b/test/test_create_conversation_request.py deleted file mode 100644 index cf5d27bb..00000000 --- a/test/test_create_conversation_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.create_conversation_request import CreateConversationRequest - -class TestCreateConversationRequest(unittest.TestCase): - """CreateConversationRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CreateConversationRequest: - """Test CreateConversationRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CreateConversationRequest` - """ - model = CreateConversationRequest() - if include_optional: - return CreateConversationRequest( - var_schema = '', - context = { }, - title = '' - ) - else: - return CreateConversationRequest( - ) - """ - - def testCreateConversationRequest(self): - """Test CreateConversationRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_created.py b/test/test_created.py deleted file mode 100644 index 3177a2bc..00000000 --- a/test/test_created.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.created import Created - -class TestCreated(unittest.TestCase): - """Created unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Created: - """Test Created - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Created` - """ - model = Created() - if include_optional: - return Created( - analysis_id = 56, - binary_id = 56, - reference = '' - ) - else: - return Created( - analysis_id = 56, - binary_id = 56, - reference = '', - ) - """ - - def testCreated(self): - """Test Created""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_decompilation_comment_context.py b/test/test_decompilation_comment_context.py deleted file mode 100644 index 03989a8f..00000000 --- a/test/test_decompilation_comment_context.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.decompilation_comment_context import DecompilationCommentContext - -class TestDecompilationCommentContext(unittest.TestCase): - """DecompilationCommentContext unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DecompilationCommentContext: - """Test DecompilationCommentContext - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DecompilationCommentContext` - """ - model = DecompilationCommentContext() - if include_optional: - return DecompilationCommentContext( - start_line = 56, - end_line = 56 - ) - else: - return DecompilationCommentContext( - start_line = 56, - end_line = 56, - ) - """ - - def testDecompilationCommentContext(self): - """Test DecompilationCommentContext""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_decompilation_data.py b/test/test_decompilation_data.py deleted file mode 100644 index abb874b9..00000000 --- a/test/test_decompilation_data.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.decompilation_data import DecompilationData - -class TestDecompilationData(unittest.TestCase): - """DecompilationData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DecompilationData: - """Test DecompilationData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DecompilationData` - """ - model = DecompilationData() - if include_optional: - return DecompilationData( - var_schema = '', - decompilation = '', - status = 'UNINITIALISED' - ) - else: - return DecompilationData( - status = 'UNINITIALISED', - ) - """ - - def testDecompilationData(self): - """Test DecompilationData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_die_match.py b/test/test_die_match.py deleted file mode 100644 index ce64f1e0..00000000 --- a/test/test_die_match.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.die_match import DieMatch - -class TestDieMatch(unittest.TestCase): - """DieMatch unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DieMatch: - """Test DieMatch - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DieMatch` - """ - model = DieMatch() - if include_optional: - return DieMatch( - name = '', - type = '', - display = '', - version = '' - ) - else: - return DieMatch( - name = '', - type = '', - display = '', - version = '', - ) - """ - - def testDieMatch(self): - """Test DieMatch""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_dns_query.py b/test/test_dns_query.py deleted file mode 100644 index c3363b10..00000000 --- a/test/test_dns_query.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.dns_query import DnsQuery - -class TestDnsQuery(unittest.TestCase): - """DnsQuery unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DnsQuery: - """Test DnsQuery - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DnsQuery` - """ - model = DnsQuery() - if include_optional: - return DnsQuery( - domain = '', - events = [ - { - 'key' : null - } - ] - ) - else: - return DnsQuery( - domain = '', - ) - """ - - def testDnsQuery(self): - """Test DnsQuery""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_drakvuf_file_metadata.py b/test/test_drakvuf_file_metadata.py deleted file mode 100644 index 46790b10..00000000 --- a/test/test_drakvuf_file_metadata.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.drakvuf_file_metadata import DrakvufFileMetadata - -class TestDrakvufFileMetadata(unittest.TestCase): - """DrakvufFileMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DrakvufFileMetadata: - """Test DrakvufFileMetadata - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DrakvufFileMetadata` - """ - model = DrakvufFileMetadata() - if include_optional: - return DrakvufFileMetadata( - mime_type = '', - name = '', - sha256 = '', - type = '', - type_id = '' - ) - else: - return DrakvufFileMetadata( - name = '', - sha256 = '', - ) - """ - - def testDrakvufFileMetadata(self): - """Test DrakvufFileMetadata""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_dynamic_execution_status.py b/test/test_dynamic_execution_status.py deleted file mode 100644 index 20f89360..00000000 --- a/test/test_dynamic_execution_status.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.dynamic_execution_status import DynamicExecutionStatus - -class TestDynamicExecutionStatus(unittest.TestCase): - """DynamicExecutionStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDynamicExecutionStatus(self): - """Test DynamicExecutionStatus""" - # inst = DynamicExecutionStatus() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_dynamic_execution_status_response.py b/test/test_dynamic_execution_status_response.py deleted file mode 100644 index 1af16c38..00000000 --- a/test/test_dynamic_execution_status_response.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.dynamic_execution_status_response import DynamicExecutionStatusResponse - -class TestDynamicExecutionStatusResponse(unittest.TestCase): - """DynamicExecutionStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DynamicExecutionStatusResponse: - """Test DynamicExecutionStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DynamicExecutionStatusResponse` - """ - model = DynamicExecutionStatusResponse() - if include_optional: - return DynamicExecutionStatusResponse( - error_message = '', - status = '' - ) - else: - return DynamicExecutionStatusResponse( - status = '', - ) - """ - - def testDynamicExecutionStatusResponse(self): - """Test DynamicExecutionStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elf_dynamic_entry.py b/test/test_elf_dynamic_entry.py deleted file mode 100644 index d4f0c40d..00000000 --- a/test/test_elf_dynamic_entry.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.elf_dynamic_entry import ElfDynamicEntry - -class TestElfDynamicEntry(unittest.TestCase): - """ElfDynamicEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ElfDynamicEntry: - """Test ElfDynamicEntry - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ElfDynamicEntry` - """ - model = ElfDynamicEntry() - if include_optional: - return ElfDynamicEntry( - tag = '', - value = 56 - ) - else: - return ElfDynamicEntry( - tag = '', - value = 56, - ) - """ - - def testElfDynamicEntry(self): - """Test ElfDynamicEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elf_import_model.py b/test/test_elf_import_model.py deleted file mode 100644 index ae78ad04..00000000 --- a/test/test_elf_import_model.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.elf_import_model import ELFImportModel - -class TestELFImportModel(unittest.TestCase): - """ELFImportModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ELFImportModel: - """Test ELFImportModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ELFImportModel` - """ - model = ELFImportModel() - if include_optional: - return ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ] - ) - else: - return ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], - ) - """ - - def testELFImportModel(self): - """Test ELFImportModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elf_model.py b/test/test_elf_model.py deleted file mode 100644 index 383361f3..00000000 --- a/test/test_elf_model.py +++ /dev/null @@ -1,223 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.elf_model import ELFModel - -class TestELFModel(unittest.TestCase): - """ELFModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ELFModel: - """Test ELFModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ELFModel` - """ - model = ELFModel() - if include_optional: - return ELFModel( - file_type = '', - architecture = '', - endianness = '', - entry_point = 56, - entry_point_bytes = '', - import_hash = '', - export_hash = '', - build_id = '', - security = revengai.models.elf_security.ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, ), - sections = [ - revengai.models.elf_section.ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, ) - ], - segments = [ - revengai.models.elf_segment.ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, ) - ], - symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - dynamic_symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - relocations = [ - revengai.models.elf_relocation.ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, ) - ], - imports = revengai.models.elf_import_model.ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], ), - exported_functions = [ - '' - ], - dynamic_entries = [ - revengai.models.elf_dynamic_entry.ElfDynamicEntry( - tag = '', - value = 56, ) - ], - notes = [ - { } - ], - debug_info = { }, - version_info = { } - ) - else: - return ELFModel( - file_type = '', - architecture = '', - endianness = '', - entry_point = 56, - entry_point_bytes = '', - import_hash = '', - export_hash = '', - build_id = '', - security = revengai.models.elf_security.ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, ), - sections = [ - revengai.models.elf_section.ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, ) - ], - segments = [ - revengai.models.elf_segment.ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, ) - ], - symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - dynamic_symbols = [ - revengai.models.elf_symbol.ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, ) - ], - relocations = [ - revengai.models.elf_relocation.ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, ) - ], - imports = revengai.models.elf_import_model.ELFImportModel( - number_of_imports = 56, - imports = [ - '' - ], ), - exported_functions = [ - '' - ], - dynamic_entries = [ - revengai.models.elf_dynamic_entry.ElfDynamicEntry( - tag = '', - value = 56, ) - ], - notes = [ - { } - ], - debug_info = { }, - version_info = { }, - ) - """ - - def testELFModel(self): - """Test ELFModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elf_relocation.py b/test/test_elf_relocation.py deleted file mode 100644 index 8bd6edca..00000000 --- a/test/test_elf_relocation.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.elf_relocation import ELFRelocation - -class TestELFRelocation(unittest.TestCase): - """ELFRelocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ELFRelocation: - """Test ELFRelocation - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ELFRelocation` - """ - model = ELFRelocation() - if include_optional: - return ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True - ) - else: - return ELFRelocation( - address = 56, - type = '', - size = 56, - addend = 56, - symbol_name = '', - is_dynamic = True, - is_pltgot = True, - ) - """ - - def testELFRelocation(self): - """Test ELFRelocation""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elf_section.py b/test/test_elf_section.py deleted file mode 100644 index f1731917..00000000 --- a/test/test_elf_section.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.elf_section import ELFSection - -class TestELFSection(unittest.TestCase): - """ELFSection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ELFSection: - """Test ELFSection - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ELFSection` - """ - model = ELFSection() - if include_optional: - return ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56 - ) - else: - return ELFSection( - name = '', - type = '', - virtual_address = 56, - virtual_size = 56, - raw_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - entropy = 1.337, - alignment = 56, - ) - """ - - def testELFSection(self): - """Test ELFSection""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elf_security.py b/test/test_elf_security.py deleted file mode 100644 index 29db7069..00000000 --- a/test/test_elf_security.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.elf_security import ELFSecurity - -class TestELFSecurity(unittest.TestCase): - """ELFSecurity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ELFSecurity: - """Test ELFSecurity - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ELFSecurity` - """ - model = ELFSecurity() - if include_optional: - return ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True - ) - else: - return ELFSecurity( - pie = True, - stripped = True, - canary = True, - nx = True, - relo = True, - ) - """ - - def testELFSecurity(self): - """Test ELFSecurity""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elf_segment.py b/test/test_elf_segment.py deleted file mode 100644 index 572022c3..00000000 --- a/test/test_elf_segment.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.elf_segment import ELFSegment - -class TestELFSegment(unittest.TestCase): - """ELFSegment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ELFSegment: - """Test ELFSegment - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ELFSegment` - """ - model = ELFSegment() - if include_optional: - return ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56 - ) - else: - return ELFSegment( - type = '', - virtual_address = 56, - virtual_size = 56, - physical_address = 56, - physical_size = 56, - file_offset = 56, - flags = '', - flags_raw = 56, - alignment = 56, - ) - """ - - def testELFSegment(self): - """Test ELFSegment""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elf_symbol.py b/test/test_elf_symbol.py deleted file mode 100644 index 3f8e04d2..00000000 --- a/test/test_elf_symbol.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.elf_symbol import ELFSymbol - -class TestELFSymbol(unittest.TestCase): - """ELFSymbol unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ELFSymbol: - """Test ELFSymbol - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ELFSymbol` - """ - model = ELFSymbol() - if include_optional: - return ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56 - ) - else: - return ELFSymbol( - name = '', - value = 56, - size = 56, - type = '', - binding = '', - visibility = '', - section_index = 56, - ) - """ - - def testELFSymbol(self): - """Test ELFSymbol""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_entrypoint_model.py b/test/test_entrypoint_model.py deleted file mode 100644 index abb1bbcf..00000000 --- a/test/test_entrypoint_model.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.entrypoint_model import EntrypointModel - -class TestEntrypointModel(unittest.TestCase): - """EntrypointModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EntrypointModel: - """Test EntrypointModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EntrypointModel` - """ - model = EntrypointModel() - if include_optional: - return EntrypointModel( - address = 56, - first_bytes = '' - ) - else: - return EntrypointModel( - address = 56, - first_bytes = '', - ) - """ - - def testEntrypointModel(self): - """Test EntrypointModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_enumeration.py b/test/test_enumeration.py deleted file mode 100644 index 3fe35b13..00000000 --- a/test/test_enumeration.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.enumeration import Enumeration - -class TestEnumeration(unittest.TestCase): - """Enumeration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Enumeration: - """Test Enumeration - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Enumeration` - """ - model = Enumeration() - if include_optional: - return Enumeration( - last_change = '', - name = '', - members = { - 'key' : 56 - }, - artifact_type = '' - ) - else: - return Enumeration( - name = '', - members = { - 'key' : 56 - }, - ) - """ - - def testEnumeration(self): - """Test Enumeration""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_body.py b/test/test_error_body.py deleted file mode 100644 index cdfd264f..00000000 --- a/test/test_error_body.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.error_body import ErrorBody - -class TestErrorBody(unittest.TestCase): - """ErrorBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ErrorBody: - """Test ErrorBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ErrorBody` - """ - model = ErrorBody() - if include_optional: - return ErrorBody( - code = 'ACCESS_DENIED', - detail = '', - doc_url = '', - message = '', - trace_id = '' - ) - else: - return ErrorBody( - code = 'ACCESS_DENIED', - message = '', - trace_id = '', - ) - """ - - def testErrorBody(self): - """Test ErrorBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_model.py b/test/test_error_model.py deleted file mode 100644 index b3538f27..00000000 --- a/test/test_error_model.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.error_model import ErrorModel - -class TestErrorModel(unittest.TestCase): - """ErrorModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ErrorModel: - """Test ErrorModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ErrorModel` - """ - model = ErrorModel() - if include_optional: - return ErrorModel( - code = '', - message = '' - ) - else: - return ErrorModel( - code = '', - message = '', - ) - """ - - def testErrorModel(self): - """Test ErrorModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event.py b/test/test_event.py deleted file mode 100644 index 33e5662c..00000000 --- a/test/test_event.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event import Event - -class TestEvent(unittest.TestCase): - """Event unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Event: - """Test Event - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Event` - """ - model = Event() - if include_optional: - return Event( - conversation_uuid = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - data = None, - event_id = 56, - role = 56, - tokens_used = 56, - type = 56 - ) - else: - return Event( - conversation_uuid = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - data = None, - event_id = 56, - role = 56, - tokens_used = 56, - type = 56, - ) - """ - - def testEvent(self): - """Test Event""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_contextcompacted.py b/test/test_event_contextcompacted.py deleted file mode 100644 index ff673782..00000000 --- a/test/test_event_contextcompacted.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_contextcompacted import EventCONTEXTCOMPACTED - -class TestEventCONTEXTCOMPACTED(unittest.TestCase): - """EventCONTEXTCOMPACTED unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventCONTEXTCOMPACTED: - """Test EventCONTEXTCOMPACTED - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventCONTEXTCOMPACTED` - """ - model = EventCONTEXTCOMPACTED() - if include_optional: - return EventCONTEXTCOMPACTED( - data = { }, - event = 'CONTEXT_COMPACTED', - id = 56, - retry = 56 - ) - else: - return EventCONTEXTCOMPACTED( - data = { }, - event = 'CONTEXT_COMPACTED', - ) - """ - - def testEventCONTEXTCOMPACTED(self): - """Test EventCONTEXTCOMPACTED""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_runcancelled.py b/test/test_event_runcancelled.py deleted file mode 100644 index 0ea4e5b5..00000000 --- a/test/test_event_runcancelled.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_runcancelled import EventRUNCANCELLED - -class TestEventRUNCANCELLED(unittest.TestCase): - """EventRUNCANCELLED unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventRUNCANCELLED: - """Test EventRUNCANCELLED - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventRUNCANCELLED` - """ - model = EventRUNCANCELLED() - if include_optional: - return EventRUNCANCELLED( - data = { }, - event = 'RUN_CANCELLED', - id = 56, - retry = 56 - ) - else: - return EventRUNCANCELLED( - data = { }, - event = 'RUN_CANCELLED', - ) - """ - - def testEventRUNCANCELLED(self): - """Test EventRUNCANCELLED""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_runerror.py b/test/test_event_runerror.py deleted file mode 100644 index f2a406ea..00000000 --- a/test/test_event_runerror.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_runerror import EventRUNERROR - -class TestEventRUNERROR(unittest.TestCase): - """EventRUNERROR unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventRUNERROR: - """Test EventRUNERROR - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventRUNERROR` - """ - model = EventRUNERROR() - if include_optional: - return EventRUNERROR( - data = { }, - event = 'RUN_ERROR', - id = 56, - retry = 56 - ) - else: - return EventRUNERROR( - data = { }, - event = 'RUN_ERROR', - ) - """ - - def testEventRUNERROR(self): - """Test EventRUNERROR""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_runfinished.py b/test/test_event_runfinished.py deleted file mode 100644 index 56c34f66..00000000 --- a/test/test_event_runfinished.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_runfinished import EventRUNFINISHED - -class TestEventRUNFINISHED(unittest.TestCase): - """EventRUNFINISHED unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventRUNFINISHED: - """Test EventRUNFINISHED - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventRUNFINISHED` - """ - model = EventRUNFINISHED() - if include_optional: - return EventRUNFINISHED( - data = { }, - event = 'RUN_FINISHED', - id = 56, - retry = 56 - ) - else: - return EventRUNFINISHED( - data = { }, - event = 'RUN_FINISHED', - ) - """ - - def testEventRUNFINISHED(self): - """Test EventRUNFINISHED""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_runstarted.py b/test/test_event_runstarted.py deleted file mode 100644 index 026d0b5e..00000000 --- a/test/test_event_runstarted.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_runstarted import EventRUNSTARTED - -class TestEventRUNSTARTED(unittest.TestCase): - """EventRUNSTARTED unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventRUNSTARTED: - """Test EventRUNSTARTED - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventRUNSTARTED` - """ - model = EventRUNSTARTED() - if include_optional: - return EventRUNSTARTED( - data = { }, - event = 'RUN_STARTED', - id = 56, - retry = 56 - ) - else: - return EventRUNSTARTED( - data = { }, - event = 'RUN_STARTED', - ) - """ - - def testEventRUNSTARTED(self): - """Test EventRUNSTARTED""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_stepfinished.py b/test/test_event_stepfinished.py deleted file mode 100644 index a71e2762..00000000 --- a/test/test_event_stepfinished.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_stepfinished import EventSTEPFINISHED - -class TestEventSTEPFINISHED(unittest.TestCase): - """EventSTEPFINISHED unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventSTEPFINISHED: - """Test EventSTEPFINISHED - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventSTEPFINISHED` - """ - model = EventSTEPFINISHED() - if include_optional: - return EventSTEPFINISHED( - data = { }, - event = 'STEP_FINISHED', - id = 56, - retry = 56 - ) - else: - return EventSTEPFINISHED( - data = { }, - event = 'STEP_FINISHED', - ) - """ - - def testEventSTEPFINISHED(self): - """Test EventSTEPFINISHED""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_stepstarted.py b/test/test_event_stepstarted.py deleted file mode 100644 index 75e17537..00000000 --- a/test/test_event_stepstarted.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_stepstarted import EventSTEPSTARTED - -class TestEventSTEPSTARTED(unittest.TestCase): - """EventSTEPSTARTED unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventSTEPSTARTED: - """Test EventSTEPSTARTED - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventSTEPSTARTED` - """ - model = EventSTEPSTARTED() - if include_optional: - return EventSTEPSTARTED( - data = { }, - event = 'STEP_STARTED', - id = 56, - retry = 56 - ) - else: - return EventSTEPSTARTED( - data = { }, - event = 'STEP_STARTED', - ) - """ - - def testEventSTEPSTARTED(self): - """Test EventSTEPSTARTED""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_textmessagecontent.py b/test/test_event_textmessagecontent.py deleted file mode 100644 index eb238481..00000000 --- a/test/test_event_textmessagecontent.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_textmessagecontent import EventTEXTMESSAGECONTENT - -class TestEventTEXTMESSAGECONTENT(unittest.TestCase): - """EventTEXTMESSAGECONTENT unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventTEXTMESSAGECONTENT: - """Test EventTEXTMESSAGECONTENT - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventTEXTMESSAGECONTENT` - """ - model = EventTEXTMESSAGECONTENT() - if include_optional: - return EventTEXTMESSAGECONTENT( - data = { }, - event = 'TEXT_MESSAGE_CONTENT', - id = 56, - retry = 56 - ) - else: - return EventTEXTMESSAGECONTENT( - data = { }, - event = 'TEXT_MESSAGE_CONTENT', - ) - """ - - def testEventTEXTMESSAGECONTENT(self): - """Test EventTEXTMESSAGECONTENT""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_textmessageend.py b/test/test_event_textmessageend.py deleted file mode 100644 index 56c65ce0..00000000 --- a/test/test_event_textmessageend.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_textmessageend import EventTEXTMESSAGEEND - -class TestEventTEXTMESSAGEEND(unittest.TestCase): - """EventTEXTMESSAGEEND unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventTEXTMESSAGEEND: - """Test EventTEXTMESSAGEEND - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventTEXTMESSAGEEND` - """ - model = EventTEXTMESSAGEEND() - if include_optional: - return EventTEXTMESSAGEEND( - data = { }, - event = 'TEXT_MESSAGE_END', - id = 56, - retry = 56 - ) - else: - return EventTEXTMESSAGEEND( - data = { }, - event = 'TEXT_MESSAGE_END', - ) - """ - - def testEventTEXTMESSAGEEND(self): - """Test EventTEXTMESSAGEEND""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_textmessagestart.py b/test/test_event_textmessagestart.py deleted file mode 100644 index 64e3f482..00000000 --- a/test/test_event_textmessagestart.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_textmessagestart import EventTEXTMESSAGESTART - -class TestEventTEXTMESSAGESTART(unittest.TestCase): - """EventTEXTMESSAGESTART unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventTEXTMESSAGESTART: - """Test EventTEXTMESSAGESTART - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventTEXTMESSAGESTART` - """ - model = EventTEXTMESSAGESTART() - if include_optional: - return EventTEXTMESSAGESTART( - data = { }, - event = 'TEXT_MESSAGE_START', - id = 56, - retry = 56 - ) - else: - return EventTEXTMESSAGESTART( - data = { }, - event = 'TEXT_MESSAGE_START', - ) - """ - - def testEventTEXTMESSAGESTART(self): - """Test EventTEXTMESSAGESTART""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_titleupdated.py b/test/test_event_titleupdated.py deleted file mode 100644 index 6ac6f6d0..00000000 --- a/test/test_event_titleupdated.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_titleupdated import EventTITLEUPDATED - -class TestEventTITLEUPDATED(unittest.TestCase): - """EventTITLEUPDATED unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventTITLEUPDATED: - """Test EventTITLEUPDATED - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventTITLEUPDATED` - """ - model = EventTITLEUPDATED() - if include_optional: - return EventTITLEUPDATED( - data = { }, - event = 'TITLE_UPDATED', - id = 56, - retry = 56 - ) - else: - return EventTITLEUPDATED( - data = { }, - event = 'TITLE_UPDATED', - ) - """ - - def testEventTITLEUPDATED(self): - """Test EventTITLEUPDATED""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_toolcallargsdelta.py b/test/test_event_toolcallargsdelta.py deleted file mode 100644 index 6c6b5cee..00000000 --- a/test/test_event_toolcallargsdelta.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_toolcallargsdelta import EventTOOLCALLARGSDELTA - -class TestEventTOOLCALLARGSDELTA(unittest.TestCase): - """EventTOOLCALLARGSDELTA unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventTOOLCALLARGSDELTA: - """Test EventTOOLCALLARGSDELTA - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventTOOLCALLARGSDELTA` - """ - model = EventTOOLCALLARGSDELTA() - if include_optional: - return EventTOOLCALLARGSDELTA( - data = { }, - event = 'TOOL_CALL_ARGS_DELTA', - id = 56, - retry = 56 - ) - else: - return EventTOOLCALLARGSDELTA( - data = { }, - event = 'TOOL_CALL_ARGS_DELTA', - ) - """ - - def testEventTOOLCALLARGSDELTA(self): - """Test EventTOOLCALLARGSDELTA""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_toolcallend.py b/test/test_event_toolcallend.py deleted file mode 100644 index 92112b4e..00000000 --- a/test/test_event_toolcallend.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_toolcallend import EventTOOLCALLEND - -class TestEventTOOLCALLEND(unittest.TestCase): - """EventTOOLCALLEND unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventTOOLCALLEND: - """Test EventTOOLCALLEND - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventTOOLCALLEND` - """ - model = EventTOOLCALLEND() - if include_optional: - return EventTOOLCALLEND( - data = { }, - event = 'TOOL_CALL_END', - id = 56, - retry = 56 - ) - else: - return EventTOOLCALLEND( - data = { }, - event = 'TOOL_CALL_END', - ) - """ - - def testEventTOOLCALLEND(self): - """Test EventTOOLCALLEND""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_toolcallresult.py b/test/test_event_toolcallresult.py deleted file mode 100644 index a43be48d..00000000 --- a/test/test_event_toolcallresult.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_toolcallresult import EventTOOLCALLRESULT - -class TestEventTOOLCALLRESULT(unittest.TestCase): - """EventTOOLCALLRESULT unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventTOOLCALLRESULT: - """Test EventTOOLCALLRESULT - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventTOOLCALLRESULT` - """ - model = EventTOOLCALLRESULT() - if include_optional: - return EventTOOLCALLRESULT( - data = { }, - event = 'TOOL_CALL_RESULT', - id = 56, - retry = 56 - ) - else: - return EventTOOLCALLRESULT( - data = { }, - event = 'TOOL_CALL_RESULT', - ) - """ - - def testEventTOOLCALLRESULT(self): - """Test EventTOOLCALLRESULT""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_toolcallstart.py b/test/test_event_toolcallstart.py deleted file mode 100644 index a43f18c0..00000000 --- a/test/test_event_toolcallstart.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_toolcallstart import EventTOOLCALLSTART - -class TestEventTOOLCALLSTART(unittest.TestCase): - """EventTOOLCALLSTART unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventTOOLCALLSTART: - """Test EventTOOLCALLSTART - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventTOOLCALLSTART` - """ - model = EventTOOLCALLSTART() - if include_optional: - return EventTOOLCALLSTART( - data = { }, - event = 'TOOL_CALL_START', - id = 56, - retry = 56 - ) - else: - return EventTOOLCALLSTART( - data = { }, - event = 'TOOL_CALL_START', - ) - """ - - def testEventTOOLCALLSTART(self): - """Test EventTOOLCALLSTART""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_event_toolconfirmationrequired.py b/test/test_event_toolconfirmationrequired.py deleted file mode 100644 index e88417c8..00000000 --- a/test/test_event_toolconfirmationrequired.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.event_toolconfirmationrequired import EventTOOLCONFIRMATIONREQUIRED - -class TestEventTOOLCONFIRMATIONREQUIRED(unittest.TestCase): - """EventTOOLCONFIRMATIONREQUIRED unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EventTOOLCONFIRMATIONREQUIRED: - """Test EventTOOLCONFIRMATIONREQUIRED - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `EventTOOLCONFIRMATIONREQUIRED` - """ - model = EventTOOLCONFIRMATIONREQUIRED() - if include_optional: - return EventTOOLCONFIRMATIONREQUIRED( - data = { }, - event = 'TOOL_CONFIRMATION_REQUIRED', - id = 56, - retry = 56 - ) - else: - return EventTOOLCONFIRMATIONREQUIRED( - data = { }, - event = 'TOOL_CONFIRMATION_REQUIRED', - ) - """ - - def testEventTOOLCONFIRMATIONREQUIRED(self): - """Test EventTOOLCONFIRMATIONREQUIRED""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_export_model.py b/test/test_export_model.py deleted file mode 100644 index c494d779..00000000 --- a/test/test_export_model.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.export_model import ExportModel - -class TestExportModel(unittest.TestCase): - """ExportModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ExportModel: - """Test ExportModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ExportModel` - """ - model = ExportModel() - if include_optional: - return ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ] - ) - else: - return ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], - ) - """ - - def testExportModel(self): - """Test ExportModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_external_response.py b/test/test_external_response.py deleted file mode 100644 index 78504a25..00000000 --- a/test/test_external_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.external_response import ExternalResponse - -class TestExternalResponse(unittest.TestCase): - """ExternalResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ExternalResponse: - """Test ExternalResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ExternalResponse` - """ - model = ExternalResponse() - if include_optional: - return ExternalResponse( - sha_256_hash = '', - data = { }, - last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ExternalResponse( - sha_256_hash = '', - data = { }, - last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testExternalResponse(self): - """Test ExternalResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_external_sources_api.py b/test/test_external_sources_api.py deleted file mode 100644 index 645109f3..00000000 --- a/test/test_external_sources_api.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.external_sources_api import ExternalSourcesApi - - -class TestExternalSourcesApi(unittest.TestCase): - """ExternalSourcesApi unit test stubs""" - - def setUp(self) -> None: - self.api = ExternalSourcesApi() - - def tearDown(self) -> None: - pass - - def test_create_external_task_vt(self) -> None: - """Test case for create_external_task_vt - - Pulls data from VirusTotal - """ - pass - - def test_get_vt_data(self) -> None: - """Test case for get_vt_data - - Get VirusTotal data - """ - pass - - def test_get_vt_task_status(self) -> None: - """Test case for get_vt_task_status - - Check the status of VirusTotal data retrieval - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_extracted_url.py b/test/test_extracted_url.py deleted file mode 100644 index e74061a9..00000000 --- a/test/test_extracted_url.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.extracted_url import ExtractedURL - -class TestExtractedURL(unittest.TestCase): - """ExtractedURL unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ExtractedURL: - """Test ExtractedURL - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ExtractedURL` - """ - model = ExtractedURL() - if include_optional: - return ExtractedURL( - events = [ - { - 'key' : null - } - ], - url = '' - ) - else: - return ExtractedURL( - url = '', - ) - """ - - def testExtractedURL(self): - """Test ExtractedURL""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_file_activity_entry.py b/test/test_file_activity_entry.py deleted file mode 100644 index 35c2d924..00000000 --- a/test/test_file_activity_entry.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.file_activity_entry import FileActivityEntry - -class TestFileActivityEntry(unittest.TestCase): - """FileActivityEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FileActivityEntry: - """Test FileActivityEntry - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FileActivityEntry` - """ - model = FileActivityEntry() - if include_optional: - return FileActivityEntry( - events = [ - { - 'key' : null - } - ], - path = '' - ) - else: - return FileActivityEntry( - path = '', - ) - """ - - def testFileActivityEntry(self): - """Test FileActivityEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_file_format.py b/test/test_file_format.py deleted file mode 100644 index a4895112..00000000 --- a/test/test_file_format.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.file_format import FileFormat - -class TestFileFormat(unittest.TestCase): - """FileFormat unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFileFormat(self): - """Test FileFormat""" - # inst = FileFormat() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_file_hashes.py b/test/test_file_hashes.py deleted file mode 100644 index 79417bf6..00000000 --- a/test/test_file_hashes.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.file_hashes import FileHashes - -class TestFileHashes(unittest.TestCase): - """FileHashes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FileHashes: - """Test FileHashes - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FileHashes` - """ - model = FileHashes() - if include_optional: - return FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '' - ) - else: - return FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '', - ) - """ - - def testFileHashes(self): - """Test FileHashes""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_file_metadata.py b/test/test_file_metadata.py deleted file mode 100644 index 2bff97a1..00000000 --- a/test/test_file_metadata.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.file_metadata import FileMetadata - -class TestFileMetadata(unittest.TestCase): - """FileMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FileMetadata: - """Test FileMetadata - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FileMetadata` - """ - model = FileMetadata() - if include_optional: - return FileMetadata( - size = 56, - friendly_size = '', - entropy = 1.337, - hashes = revengai.models.file_hashes.FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '', ) - ) - else: - return FileMetadata( - size = 56, - friendly_size = '', - entropy = 1.337, - hashes = revengai.models.file_hashes.FileHashes( - md5 = '', - sha1 = '', - sha256 = '', - sha512 = '', - sha3_224 = '', - sha3_256 = '', - sha3_384 = '', - sha3_512 = '', ), - ) - """ - - def testFileMetadata(self): - """Test FileMetadata""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_filters.py b/test/test_filters.py deleted file mode 100644 index 7b2969b8..00000000 --- a/test/test_filters.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.filters import Filters - -class TestFilters(unittest.TestCase): - """Filters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFilters(self): - """Test Filters""" - # inst = Filters() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_firmware_api.py b/test/test_firmware_api.py deleted file mode 100644 index aebd768c..00000000 --- a/test/test_firmware_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.firmware_api import FirmwareApi - - -class TestFirmwareApi(unittest.TestCase): - """FirmwareApi unit test stubs""" - - def setUp(self) -> None: - self.api = FirmwareApi() - - def tearDown(self) -> None: - pass - - def test_get_binaries_for_firmware_task(self) -> None: - """Test case for get_binaries_for_firmware_task - - Upload firmware for unpacking - """ - pass - - def test_upload_firmware(self) -> None: - """Test case for upload_firmware - - Upload firmware for unpacking - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_block_destination_response.py b/test/test_function_block_destination_response.py deleted file mode 100644 index bc1165d6..00000000 --- a/test/test_function_block_destination_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_block_destination_response import FunctionBlockDestinationResponse - -class TestFunctionBlockDestinationResponse(unittest.TestCase): - """FunctionBlockDestinationResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionBlockDestinationResponse: - """Test FunctionBlockDestinationResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionBlockDestinationResponse` - """ - model = FunctionBlockDestinationResponse() - if include_optional: - return FunctionBlockDestinationResponse( - destination_block_id = 56, - flowtype = '', - vaddr = '' - ) - else: - return FunctionBlockDestinationResponse( - destination_block_id = 56, - flowtype = '', - vaddr = '', - ) - """ - - def testFunctionBlockDestinationResponse(self): - """Test FunctionBlockDestinationResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_block_response.py b/test/test_function_block_response.py deleted file mode 100644 index 7caaaa48..00000000 --- a/test/test_function_block_response.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_block_response import FunctionBlockResponse - -class TestFunctionBlockResponse(unittest.TestCase): - """FunctionBlockResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionBlockResponse: - """Test FunctionBlockResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionBlockResponse` - """ - model = FunctionBlockResponse() - if include_optional: - return FunctionBlockResponse( - asm = [ - '' - ], - id = 56, - min_addr = 56, - max_addr = 56, - destinations = [ - revengai.models.function_block_destination_response.FunctionBlockDestinationResponse( - destination_block_id = 56, - flowtype = '', - vaddr = '', ) - ], - comment = '' - ) - else: - return FunctionBlockResponse( - asm = [ - '' - ], - id = 56, - min_addr = 56, - max_addr = 56, - destinations = [ - revengai.models.function_block_destination_response.FunctionBlockDestinationResponse( - destination_block_id = 56, - flowtype = '', - vaddr = '', ) - ], - ) - """ - - def testFunctionBlockResponse(self): - """Test FunctionBlockResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_blocks_response.py b/test/test_function_blocks_response.py deleted file mode 100644 index a91616d2..00000000 --- a/test/test_function_blocks_response.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_blocks_response import FunctionBlocksResponse - -class TestFunctionBlocksResponse(unittest.TestCase): - """FunctionBlocksResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionBlocksResponse: - """Test FunctionBlocksResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionBlocksResponse` - """ - model = FunctionBlocksResponse() - if include_optional: - return FunctionBlocksResponse( - blocks = [ - revengai.models.function_block_response.FunctionBlockResponse( - asm = [ - '' - ], - id = 56, - min_addr = 56, - max_addr = 56, - destinations = [ - revengai.models.function_block_destination_response.FunctionBlockDestinationResponse( - destination_block_id = 56, - flowtype = '', - vaddr = '', ) - ], - comment = '', ) - ], - local_variables = [ - revengai.models.function_local_variable_response.FunctionLocalVariableResponse( - address = '', - d_type = '', - size = 56, - loc = '', - name = '', ) - ], - params = [ - revengai.models.function_param_response.FunctionParamResponse( - d_type = '', - loc = '', - addr = '', - length = 56, - name = '', ) - ], - overview_comment = '' - ) - else: - return FunctionBlocksResponse( - blocks = [ - revengai.models.function_block_response.FunctionBlockResponse( - asm = [ - '' - ], - id = 56, - min_addr = 56, - max_addr = 56, - destinations = [ - revengai.models.function_block_destination_response.FunctionBlockDestinationResponse( - destination_block_id = 56, - flowtype = '', - vaddr = '', ) - ], - comment = '', ) - ], - local_variables = [ - revengai.models.function_local_variable_response.FunctionLocalVariableResponse( - address = '', - d_type = '', - size = 56, - loc = '', - name = '', ) - ], - params = [ - revengai.models.function_param_response.FunctionParamResponse( - d_type = '', - loc = '', - addr = '', - length = 56, - name = '', ) - ], - ) - """ - - def testFunctionBlocksResponse(self): - """Test FunctionBlocksResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_boundary.py b/test/test_function_boundary.py deleted file mode 100644 index ef68688e..00000000 --- a/test/test_function_boundary.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_boundary import FunctionBoundary - -class TestFunctionBoundary(unittest.TestCase): - """FunctionBoundary unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionBoundary: - """Test FunctionBoundary - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionBoundary` - """ - model = FunctionBoundary() - if include_optional: - return FunctionBoundary( - mangled_name = '', - start_address = 56, - end_address = 56, - include_in_analysis = True - ) - else: - return FunctionBoundary( - mangled_name = '', - start_address = 56, - end_address = 56, - ) - """ - - def testFunctionBoundary(self): - """Test FunctionBoundary""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_capability_response.py b/test/test_function_capability_response.py deleted file mode 100644 index f593e386..00000000 --- a/test/test_function_capability_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_capability_response import FunctionCapabilityResponse - -class TestFunctionCapabilityResponse(unittest.TestCase): - """FunctionCapabilityResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionCapabilityResponse: - """Test FunctionCapabilityResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionCapabilityResponse` - """ - model = FunctionCapabilityResponse() - if include_optional: - return FunctionCapabilityResponse( - capabilities = [ - '' - ] - ) - else: - return FunctionCapabilityResponse( - capabilities = [ - '' - ], - ) - """ - - def testFunctionCapabilityResponse(self): - """Test FunctionCapabilityResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_comment_create_request.py b/test/test_function_comment_create_request.py deleted file mode 100644 index 4ddcda3e..00000000 --- a/test/test_function_comment_create_request.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_comment_create_request import FunctionCommentCreateRequest - -class TestFunctionCommentCreateRequest(unittest.TestCase): - """FunctionCommentCreateRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionCommentCreateRequest: - """Test FunctionCommentCreateRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionCommentCreateRequest` - """ - model = FunctionCommentCreateRequest() - if include_optional: - return FunctionCommentCreateRequest( - content = '', - context = revengai.models.decompilation_comment_context.DecompilationCommentContext( - start_line = 56, - end_line = 56, ) - ) - else: - return FunctionCommentCreateRequest( - content = '', - ) - """ - - def testFunctionCommentCreateRequest(self): - """Test FunctionCommentCreateRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_data_types.py b/test/test_function_data_types.py deleted file mode 100644 index 50a333fe..00000000 --- a/test/test_function_data_types.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_data_types import FunctionDataTypes - -class TestFunctionDataTypes(unittest.TestCase): - """FunctionDataTypes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionDataTypes: - """Test FunctionDataTypes - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionDataTypes` - """ - model = FunctionDataTypes() - if include_optional: - return FunctionDataTypes( - completed = True, - status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), - data_types_version = 56 - ) - else: - return FunctionDataTypes( - completed = True, - status = '', - ) - """ - - def testFunctionDataTypes(self): - """Test FunctionDataTypes""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_data_types_list.py b/test/test_function_data_types_list.py deleted file mode 100644 index c93ebb99..00000000 --- a/test/test_function_data_types_list.py +++ /dev/null @@ -1,131 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_data_types_list import FunctionDataTypesList - -class TestFunctionDataTypesList(unittest.TestCase): - """FunctionDataTypesList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionDataTypesList: - """Test FunctionDataTypesList - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionDataTypesList` - """ - model = FunctionDataTypesList() - if include_optional: - return FunctionDataTypesList( - total_count = 56, - total_data_types_count = 56, - items = [ - revengai.models.function_data_types_list_item.FunctionDataTypesListItem( - completed = True, - status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), - data_types_version = 56, - function_id = 56, ) - ] - ) - else: - return FunctionDataTypesList( - items = [ - revengai.models.function_data_types_list_item.FunctionDataTypesListItem( - completed = True, - status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), - data_types_version = 56, - function_id = 56, ) - ], - ) - """ - - def testFunctionDataTypesList(self): - """Test FunctionDataTypesList""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_data_types_list_item.py b/test/test_function_data_types_list_item.py deleted file mode 100644 index 755c5c04..00000000 --- a/test/test_function_data_types_list_item.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_data_types_list_item import FunctionDataTypesListItem - -class TestFunctionDataTypesListItem(unittest.TestCase): - """FunctionDataTypesListItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionDataTypesListItem: - """Test FunctionDataTypesListItem - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionDataTypesListItem` - """ - model = FunctionDataTypesListItem() - if include_optional: - return FunctionDataTypesListItem( - completed = True, - status = '', - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), - data_types_version = 56, - function_id = 56 - ) - else: - return FunctionDataTypesListItem( - completed = True, - status = '', - function_id = 56, - ) - """ - - def testFunctionDataTypesListItem(self): - """Test FunctionDataTypesListItem""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_data_types_params.py b/test/test_function_data_types_params.py deleted file mode 100644 index a0c023de..00000000 --- a/test/test_function_data_types_params.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_data_types_params import FunctionDataTypesParams - -class TestFunctionDataTypesParams(unittest.TestCase): - """FunctionDataTypesParams unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionDataTypesParams: - """Test FunctionDataTypesParams - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionDataTypesParams` - """ - model = FunctionDataTypesParams() - if include_optional: - return FunctionDataTypesParams( - function_ids = [ - 56 - ] - ) - else: - return FunctionDataTypesParams( - function_ids = [ - 56 - ], - ) - """ - - def testFunctionDataTypesParams(self): - """Test FunctionDataTypesParams""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_data_types_status.py b/test/test_function_data_types_status.py deleted file mode 100644 index 7f315110..00000000 --- a/test/test_function_data_types_status.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_data_types_status import FunctionDataTypesStatus - -class TestFunctionDataTypesStatus(unittest.TestCase): - """FunctionDataTypesStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionDataTypesStatus: - """Test FunctionDataTypesStatus - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionDataTypesStatus` - """ - model = FunctionDataTypesStatus() - if include_optional: - return FunctionDataTypesStatus( - function_id = 56, - completed = True, - status = '' - ) - else: - return FunctionDataTypesStatus( - function_id = 56, - completed = True, - status = '', - ) - """ - - def testFunctionDataTypesStatus(self): - """Test FunctionDataTypesStatus""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_header.py b/test/test_function_header.py deleted file mode 100644 index a6561c48..00000000 --- a/test/test_function_header.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_header import FunctionHeader - -class TestFunctionHeader(unittest.TestCase): - """FunctionHeader unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionHeader: - """Test FunctionHeader - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionHeader` - """ - model = FunctionHeader() - if include_optional: - return FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - } - ) - else: - return FunctionHeader( - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, - ) - """ - - def testFunctionHeader(self): - """Test FunctionHeader""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_info_input.py b/test/test_function_info_input.py deleted file mode 100644 index 9b201ee6..00000000 --- a/test/test_function_info_input.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_info_input import FunctionInfoInput - -class TestFunctionInfoInput(unittest.TestCase): - """FunctionInfoInput unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionInfoInput: - """Test FunctionInfoInput - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionInfoInput` - """ - model = FunctionInfoInput() - if include_optional: - return FunctionInfoInput( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ] - ) - else: - return FunctionInfoInput( - func_deps = [ - null - ], - ) - """ - - def testFunctionInfoInput(self): - """Test FunctionInfoInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_info_input_func_deps_inner.py b/test/test_function_info_input_func_deps_inner.py deleted file mode 100644 index 77a91e56..00000000 --- a/test/test_function_info_input_func_deps_inner.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_info_input_func_deps_inner import FunctionInfoInputFuncDepsInner - -class TestFunctionInfoInputFuncDepsInner(unittest.TestCase): - """FunctionInfoInputFuncDepsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionInfoInputFuncDepsInner: - """Test FunctionInfoInputFuncDepsInner - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionInfoInputFuncDepsInner` - """ - model = FunctionInfoInputFuncDepsInner() - if include_optional: - return FunctionInfoInputFuncDepsInner( - last_change = '', - name = '', - size = 56, - members = { - 'key' : 56 - }, - artifact_type = '', - type = '', - addr = 56 - ) - else: - return FunctionInfoInputFuncDepsInner( - name = '', - size = 56, - members = { - 'key' : 56 - }, - type = '', - addr = 56, - ) - """ - - def testFunctionInfoInputFuncDepsInner(self): - """Test FunctionInfoInputFuncDepsInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_info_output.py b/test/test_function_info_output.py deleted file mode 100644 index 2349de19..00000000 --- a/test/test_function_info_output.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_info_output import FunctionInfoOutput - -class TestFunctionInfoOutput(unittest.TestCase): - """FunctionInfoOutput unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionInfoOutput: - """Test FunctionInfoOutput - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionInfoOutput` - """ - model = FunctionInfoOutput() - if include_optional: - return FunctionInfoOutput( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ] - ) - else: - return FunctionInfoOutput( - func_deps = [ - null - ], - ) - """ - - def testFunctionInfoOutput(self): - """Test FunctionInfoOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_list_item.py b/test/test_function_list_item.py deleted file mode 100644 index 8021b52b..00000000 --- a/test/test_function_list_item.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_list_item import FunctionListItem - -class TestFunctionListItem(unittest.TestCase): - """FunctionListItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionListItem: - """Test FunctionListItem - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionListItem` - """ - model = FunctionListItem() - if include_optional: - return FunctionListItem( - id = 56, - name = '', - name_source_type = 'SYSTEM', - name_source = revengai.models.name_source_type.NameSourceType( - type = 'SYSTEM', - function_id = 56, - binary_id = 56, - analysis_id = 56, ), - mangled_name = '', - vaddr = 56, - size = 56, - debug = True - ) - else: - return FunctionListItem( - id = 56, - name = '', - name_source_type = 'SYSTEM', - name_source = revengai.models.name_source_type.NameSourceType( - type = 'SYSTEM', - function_id = 56, - binary_id = 56, - analysis_id = 56, ), - mangled_name = '', - vaddr = 56, - size = 56, - debug = True, - ) - """ - - def testFunctionListItem(self): - """Test FunctionListItem""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_local_variable_response.py b/test/test_function_local_variable_response.py deleted file mode 100644 index 6ed0cd4d..00000000 --- a/test/test_function_local_variable_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_local_variable_response import FunctionLocalVariableResponse - -class TestFunctionLocalVariableResponse(unittest.TestCase): - """FunctionLocalVariableResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionLocalVariableResponse: - """Test FunctionLocalVariableResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionLocalVariableResponse` - """ - model = FunctionLocalVariableResponse() - if include_optional: - return FunctionLocalVariableResponse( - address = '', - d_type = '', - size = 56, - loc = '', - name = '' - ) - else: - return FunctionLocalVariableResponse( - address = '', - d_type = '', - size = 56, - loc = '', - name = '', - ) - """ - - def testFunctionLocalVariableResponse(self): - """Test FunctionLocalVariableResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_mapping.py b/test/test_function_mapping.py deleted file mode 100644 index b8867927..00000000 --- a/test/test_function_mapping.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_mapping import FunctionMapping - -class TestFunctionMapping(unittest.TestCase): - """FunctionMapping unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionMapping: - """Test FunctionMapping - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionMapping` - """ - model = FunctionMapping() - if include_optional: - return FunctionMapping( - function_map = { - 'key' : 56 - }, - inverse_function_map = { - 'key' : 56 - }, - name_map = { - 'key' : '' - } - ) - else: - return FunctionMapping( - function_map = { - 'key' : 56 - }, - inverse_function_map = { - 'key' : 56 - }, - name_map = { - 'key' : '' - }, - ) - """ - - def testFunctionMapping(self): - """Test FunctionMapping""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_mapping_full.py b/test/test_function_mapping_full.py deleted file mode 100644 index 537a06b7..00000000 --- a/test/test_function_mapping_full.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_mapping_full import FunctionMappingFull - -class TestFunctionMappingFull(unittest.TestCase): - """FunctionMappingFull unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionMappingFull: - """Test FunctionMappingFull - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionMappingFull` - """ - model = FunctionMappingFull() - if include_optional: - return FunctionMappingFull( - inverse_string_map = { - 'key' : revengai.models.inverse_string_map_item.InverseStringMapItem( - string = '', - addr = 56, ) - }, - inverse_function_map = { - 'key' : revengai.models.inverse_function_map_item.InverseFunctionMapItem( - name = '', - addr = null, - is_external = True, ) - }, - unmatched_functions = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_custom_types = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_strings = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_vars = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_go_to_labels = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_custom_function_pointers = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_variadic_lists = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_enums = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_global_vars = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - fields = { - 'key' : { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - } - }, - unmatched_external_vars = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - user_override_mappings = { - 'key' : '' - } - ) - else: - return FunctionMappingFull( - inverse_string_map = { - 'key' : revengai.models.inverse_string_map_item.InverseStringMapItem( - string = '', - addr = 56, ) - }, - inverse_function_map = { - 'key' : revengai.models.inverse_function_map_item.InverseFunctionMapItem( - name = '', - addr = null, - is_external = True, ) - }, - unmatched_functions = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_custom_types = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_strings = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_vars = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_go_to_labels = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_custom_function_pointers = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_variadic_lists = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_enums = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_global_vars = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - fields = { - 'key' : { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - } - }, - ) - """ - - def testFunctionMappingFull(self): - """Test FunctionMappingFull""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_match.py b/test/test_function_match.py deleted file mode 100644 index d44daa35..00000000 --- a/test/test_function_match.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_match import FunctionMatch - -class TestFunctionMatch(unittest.TestCase): - """FunctionMatch unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionMatch: - """Test FunctionMatch - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionMatch` - """ - model = FunctionMatch() - if include_optional: - return FunctionMatch( - function_id = 56, - matched_functions = [ - revengai.models.matched_function.MatchedFunction( - function_id = 56, - binary_id = 56, - function_name = '', - function_vaddr = 56, - mangled_name = '', - debug = True, - binary_name = '', - sha_256_hash = '', - analysis_id = 56, - similarity = 1.337, - confidence = 1.337, ) - ], - confidences = [ - revengai.models.name_confidence.NameConfidence( - name = '', - confidence = 0, ) - ] - ) - else: - return FunctionMatch( - function_id = 56, - matched_functions = [ - revengai.models.matched_function.MatchedFunction( - function_id = 56, - binary_id = 56, - function_name = '', - function_vaddr = 56, - mangled_name = '', - debug = True, - binary_name = '', - sha_256_hash = '', - analysis_id = 56, - similarity = 1.337, - confidence = 1.337, ) - ], - ) - """ - - def testFunctionMatch(self): - """Test FunctionMatch""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_matching_filters.py b/test/test_function_matching_filters.py deleted file mode 100644 index dc4d51f7..00000000 --- a/test/test_function_matching_filters.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_matching_filters import FunctionMatchingFilters - -class TestFunctionMatchingFilters(unittest.TestCase): - """FunctionMatchingFilters unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionMatchingFilters: - """Test FunctionMatchingFilters - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionMatchingFilters` - """ - model = FunctionMatchingFilters() - if include_optional: - return FunctionMatchingFilters( - binary_ids = [ - 56 - ], - collection_ids = [ - 56 - ], - function_ids = [ - 56 - ], - user_ids = [ - 56 - ], - debug_types = [ - 'USER' - ] - ) - else: - return FunctionMatchingFilters( - ) - """ - - def testFunctionMatchingFilters(self): - """Test FunctionMatchingFilters""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_matching_request.py b/test/test_function_matching_request.py deleted file mode 100644 index 72bd741c..00000000 --- a/test/test_function_matching_request.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_matching_request import FunctionMatchingRequest - -class TestFunctionMatchingRequest(unittest.TestCase): - """FunctionMatchingRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionMatchingRequest: - """Test FunctionMatchingRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionMatchingRequest` - """ - model = FunctionMatchingRequest() - if include_optional: - return FunctionMatchingRequest( - model_id = 56, - function_ids = [ - 56 - ], - min_similarity = 0, - filters = revengai.models.function_matching_filters.FunctionMatchingFilters( - binary_ids = [ - 56 - ], - collection_ids = [ - 56 - ], - function_ids = [ - 56 - ], - user_ids = [ - 56 - ], - debug_types = [ - 'USER' - ], ), - results_per_function = 1, - page = 1, - page_size = 0, - status_only = True, - no_cache = True, - use_canonical_names = True - ) - else: - return FunctionMatchingRequest( - model_id = 56, - function_ids = [ - 56 - ], - ) - """ - - def testFunctionMatchingRequest(self): - """Test FunctionMatchingRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_matching_response.py b/test/test_function_matching_response.py deleted file mode 100644 index a69f123c..00000000 --- a/test/test_function_matching_response.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_matching_response import FunctionMatchingResponse - -class TestFunctionMatchingResponse(unittest.TestCase): - """FunctionMatchingResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionMatchingResponse: - """Test FunctionMatchingResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionMatchingResponse` - """ - model = FunctionMatchingResponse() - if include_optional: - return FunctionMatchingResponse( - progress = 56, - status = '', - total_time = 56, - error_message = '', - current_page = 56, - total_pages = 56, - matches = [ - revengai.models.function_match.FunctionMatch( - function_id = 56, - matched_functions = [ - revengai.models.matched_function.MatchedFunction( - function_id = 56, - binary_id = 56, - function_name = '', - function_vaddr = 56, - mangled_name = '', - debug = True, - binary_name = '', - sha_256_hash = '', - analysis_id = 56, - similarity = 1.337, - confidence = 1.337, ) - ], - confidences = [ - revengai.models.name_confidence.NameConfidence( - name = '', - confidence = 0, ) - ], ) - ], - num_matches = 56, - num_debug_matches = 56, - updated_at = '' - ) - else: - return FunctionMatchingResponse( - ) - """ - - def testFunctionMatchingResponse(self): - """Test FunctionMatchingResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_name_history.py b/test/test_function_name_history.py deleted file mode 100644 index 419ae0a3..00000000 --- a/test/test_function_name_history.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_name_history import FunctionNameHistory - -class TestFunctionNameHistory(unittest.TestCase): - """FunctionNameHistory unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionNameHistory: - """Test FunctionNameHistory - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionNameHistory` - """ - model = FunctionNameHistory() - if include_optional: - return FunctionNameHistory( - history_id = 56, - change_made_by = '', - function_name = '', - mangled_name = '', - is_debug = True, - source_type = 'SYSTEM', - created_at = '' - ) - else: - return FunctionNameHistory( - history_id = 56, - change_made_by = '', - function_name = '', - mangled_name = '', - is_debug = True, - source_type = 'SYSTEM', - created_at = '', - ) - """ - - def testFunctionNameHistory(self): - """Test FunctionNameHistory""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_param_response.py b/test/test_function_param_response.py deleted file mode 100644 index 08a73e67..00000000 --- a/test/test_function_param_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_param_response import FunctionParamResponse - -class TestFunctionParamResponse(unittest.TestCase): - """FunctionParamResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionParamResponse: - """Test FunctionParamResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionParamResponse` - """ - model = FunctionParamResponse() - if include_optional: - return FunctionParamResponse( - d_type = '', - loc = '', - addr = '', - length = 56, - name = '' - ) - else: - return FunctionParamResponse( - d_type = '', - loc = '', - addr = '', - length = 56, - name = '', - ) - """ - - def testFunctionParamResponse(self): - """Test FunctionParamResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_rename.py b/test/test_function_rename.py deleted file mode 100644 index ca3d1d5e..00000000 --- a/test/test_function_rename.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_rename import FunctionRename - -class TestFunctionRename(unittest.TestCase): - """FunctionRename unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionRename: - """Test FunctionRename - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionRename` - """ - model = FunctionRename() - if include_optional: - return FunctionRename( - new_name = '', - new_mangled_name = '' - ) - else: - return FunctionRename( - new_name = '', - new_mangled_name = '', - ) - """ - - def testFunctionRename(self): - """Test FunctionRename""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_rename_map.py b/test/test_function_rename_map.py deleted file mode 100644 index 8367a7a9..00000000 --- a/test/test_function_rename_map.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_rename_map import FunctionRenameMap - -class TestFunctionRenameMap(unittest.TestCase): - """FunctionRenameMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionRenameMap: - """Test FunctionRenameMap - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionRenameMap` - """ - model = FunctionRenameMap() - if include_optional: - return FunctionRenameMap( - function_id = 56, - new_name = '', - new_mangled_name = '' - ) - else: - return FunctionRenameMap( - function_id = 56, - new_name = '', - new_mangled_name = '', - ) - """ - - def testFunctionRenameMap(self): - """Test FunctionRenameMap""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_search_response.py b/test/test_function_search_response.py deleted file mode 100644 index aae9fbf6..00000000 --- a/test/test_function_search_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_search_response import FunctionSearchResponse - -class TestFunctionSearchResponse(unittest.TestCase): - """FunctionSearchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionSearchResponse: - """Test FunctionSearchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionSearchResponse` - """ - model = FunctionSearchResponse() - if include_optional: - return FunctionSearchResponse( - results = [ - revengai.models.function_search_result.FunctionSearchResult( - function_id = 56, - function_name = '', - binary_name = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', ) - ] - ) - else: - return FunctionSearchResponse( - results = [ - revengai.models.function_search_result.FunctionSearchResult( - function_id = 56, - function_name = '', - binary_name = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', ) - ], - ) - """ - - def testFunctionSearchResponse(self): - """Test FunctionSearchResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_search_result.py b/test/test_function_search_result.py deleted file mode 100644 index d3688440..00000000 --- a/test/test_function_search_result.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_search_result import FunctionSearchResult - -class TestFunctionSearchResult(unittest.TestCase): - """FunctionSearchResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionSearchResult: - """Test FunctionSearchResult - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionSearchResult` - """ - model = FunctionSearchResult() - if include_optional: - return FunctionSearchResult( - function_id = 56, - function_name = '', - binary_name = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '' - ) - else: - return FunctionSearchResult( - function_id = 56, - function_name = '', - binary_name = '', - created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_id = 56, - model_name = '', - owned_by = '', - ) - """ - - def testFunctionSearchResult(self): - """Test FunctionSearchResult""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_source_type.py b/test/test_function_source_type.py deleted file mode 100644 index 67152145..00000000 --- a/test/test_function_source_type.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_source_type import FunctionSourceType - -class TestFunctionSourceType(unittest.TestCase): - """FunctionSourceType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFunctionSourceType(self): - """Test FunctionSourceType""" - # inst = FunctionSourceType() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_string.py b/test/test_function_string.py deleted file mode 100644 index 13e2e67d..00000000 --- a/test/test_function_string.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_string import FunctionString - -class TestFunctionString(unittest.TestCase): - """FunctionString unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionString: - """Test FunctionString - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionString` - """ - model = FunctionString() - if include_optional: - return FunctionString( - value = '', - vaddr = 56, - source = 'SYSTEM' - ) - else: - return FunctionString( - value = '', - vaddr = 56, - ) - """ - - def testFunctionString(self): - """Test FunctionString""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_strings_response.py b/test/test_function_strings_response.py deleted file mode 100644 index a01bb686..00000000 --- a/test/test_function_strings_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_strings_response import FunctionStringsResponse - -class TestFunctionStringsResponse(unittest.TestCase): - """FunctionStringsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionStringsResponse: - """Test FunctionStringsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionStringsResponse` - """ - model = FunctionStringsResponse() - if include_optional: - return FunctionStringsResponse( - strings = [ - revengai.models.function_string.FunctionString( - value = '', - vaddr = 56, - source = 'SYSTEM', ) - ], - total_strings = 56 - ) - else: - return FunctionStringsResponse( - strings = [ - revengai.models.function_string.FunctionString( - value = '', - vaddr = 56, - source = 'SYSTEM', ) - ], - total_strings = 56, - ) - """ - - def testFunctionStringsResponse(self): - """Test FunctionStringsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_task_response.py b/test/test_function_task_response.py deleted file mode 100644 index 937286f7..00000000 --- a/test/test_function_task_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_task_response import FunctionTaskResponse - -class TestFunctionTaskResponse(unittest.TestCase): - """FunctionTaskResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionTaskResponse: - """Test FunctionTaskResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionTaskResponse` - """ - model = FunctionTaskResponse() - if include_optional: - return FunctionTaskResponse( - status = 'UNINITIALISED', - error_message = '' - ) - else: - return FunctionTaskResponse( - ) - """ - - def testFunctionTaskResponse(self): - """Test FunctionTaskResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_task_status.py b/test/test_function_task_status.py deleted file mode 100644 index 4d11ca22..00000000 --- a/test/test_function_task_status.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_task_status import FunctionTaskStatus - -class TestFunctionTaskStatus(unittest.TestCase): - """FunctionTaskStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFunctionTaskStatus(self): - """Test FunctionTaskStatus""" - # inst = FunctionTaskStatus() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_type_input.py b/test/test_function_type_input.py deleted file mode 100644 index a7eb2a8f..00000000 --- a/test/test_function_type_input.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_type_input import FunctionTypeInput - -class TestFunctionTypeInput(unittest.TestCase): - """FunctionTypeInput unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionTypeInput: - """Test FunctionTypeInput - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionTypeInput` - """ - model = FunctionTypeInput() - if include_optional: - return FunctionTypeInput( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function' - ) - else: - return FunctionTypeInput( - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - name = '', - type = '', - ) - """ - - def testFunctionTypeInput(self): - """Test FunctionTypeInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_function_type_output.py b/test/test_function_type_output.py deleted file mode 100644 index d128f5f6..00000000 --- a/test/test_function_type_output.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.function_type_output import FunctionTypeOutput - -class TestFunctionTypeOutput(unittest.TestCase): - """FunctionTypeOutput unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionTypeOutput: - """Test FunctionTypeOutput - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionTypeOutput` - """ - model = FunctionTypeOutput() - if include_optional: - return FunctionTypeOutput( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function' - ) - else: - return FunctionTypeOutput( - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - name = '', - type = '', - ) - """ - - def testFunctionTypeOutput(self): - """Test FunctionTypeOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_functions_ai_decompilation_api.py b/test/test_functions_ai_decompilation_api.py deleted file mode 100644 index 428d8251..00000000 --- a/test/test_functions_ai_decompilation_api.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.functions_ai_decompilation_api import FunctionsAIDecompilationApi - - -class TestFunctionsAIDecompilationApi(unittest.TestCase): - """FunctionsAIDecompilationApi unit test stubs""" - - def setUp(self) -> None: - self.api = FunctionsAIDecompilationApi() - - def tearDown(self) -> None: - pass - - def test_create_ai_decompilation(self) -> None: - """Test case for create_ai_decompilation - - Start AI decompilation - """ - pass - - def test_create_ai_decompilation_comment(self) -> None: - """Test case for create_ai_decompilation_comment - - Create a comment for this function - """ - pass - - def test_create_ai_decompilation_task(self) -> None: - """Test case for create_ai_decompilation_task - - Begins AI Decompilation Process - """ - pass - - def test_delete_ai_decompilation_comment(self) -> None: - """Test case for delete_ai_decompilation_comment - - Delete a comment - """ - pass - - def test_get_ai_decompilation(self) -> None: - """Test case for get_ai_decompilation - - Get AI decompilation result - """ - pass - - def test_get_ai_decompilation_comments(self) -> None: - """Test case for get_ai_decompilation_comments - - Get comments for this function - """ - pass - - def test_get_ai_decompilation_inline_comments(self) -> None: - """Test case for get_ai_decompilation_inline_comments - - Get AI decompilation inline comments - """ - pass - - def test_get_ai_decompilation_inline_comments_status(self) -> None: - """Test case for get_ai_decompilation_inline_comments_status - - Get inline comments generation workflow status - """ - pass - - def test_get_ai_decompilation_rating(self) -> None: - """Test case for get_ai_decompilation_rating - - Get rating for AI decompilation - """ - pass - - def test_get_ai_decompilation_status(self) -> None: - """Test case for get_ai_decompilation_status - - Get AI decompilation workflow status - """ - pass - - def test_get_ai_decompilation_summary(self) -> None: - """Test case for get_ai_decompilation_summary - - Get AI decompilation summary - """ - pass - - def test_get_ai_decompilation_summary_status(self) -> None: - """Test case for get_ai_decompilation_summary_status - - Get summary generation workflow status - """ - pass - - def test_get_ai_decompilation_task_result(self) -> None: - """Test case for get_ai_decompilation_task_result - - Polls AI Decompilation Process - """ - pass - - def test_get_ai_decompilation_task_status(self) -> None: - """Test case for get_ai_decompilation_task_status - - Check the status of a function ai decompilation - """ - pass - - def test_get_ai_decompilation_tokenised(self) -> None: - """Test case for get_ai_decompilation_tokenised - - Get tokenised AI decompilation with function mapping - """ - pass - - def test_regenerate_ai_decompilation_inline_comments(self) -> None: - """Test case for regenerate_ai_decompilation_inline_comments - - Regenerate AI decompilation inline comments - """ - pass - - def test_regenerate_ai_decompilation_summary(self) -> None: - """Test case for regenerate_ai_decompilation_summary - - Regenerate AI decompilation summary - """ - pass - - def test_update_ai_decompilation_comment(self) -> None: - """Test case for update_ai_decompilation_comment - - Update a comment - """ - pass - - def test_upsert_ai_decompilation_overrides(self) -> None: - """Test case for upsert_ai_decompilation_overrides - - Upsert variable/function name overrides - """ - pass - - def test_upsert_ai_decompilation_rating(self) -> None: - """Test case for upsert_ai_decompilation_rating - - Upsert rating for AI decompilation - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_functions_core_api.py b/test/test_functions_core_api.py deleted file mode 100644 index 1a9da947..00000000 --- a/test/test_functions_core_api.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.functions_core_api import FunctionsCoreApi - - -class TestFunctionsCoreApi(unittest.TestCase): - """FunctionsCoreApi unit test stubs""" - - def setUp(self) -> None: - self.api = FunctionsCoreApi() - - def tearDown(self) -> None: - pass - - def test_ai_unstrip(self) -> None: - """Test case for ai_unstrip - - Performs matching and auto-unstrip for an analysis and its functions - """ - pass - - def test_analysis_function_matching(self) -> None: - """Test case for analysis_function_matching - - Perform matching for the functions of an analysis - """ - pass - - def test_auto_unstrip(self) -> None: - """Test case for auto_unstrip - - Performs matching and auto-unstrip for an analysis and its functions - """ - pass - - def test_batch_function_matching(self) -> None: - """Test case for batch_function_matching - - Perform function matching for an arbitrary batch of functions, binaries or collections - """ - pass - - def test_cancel_ai_unstrip(self) -> None: - """Test case for cancel_ai_unstrip - - Cancels a running ai-unstrip - """ - pass - - def test_cancel_auto_unstrip(self) -> None: - """Test case for cancel_auto_unstrip - - Cancels a running auto-unstrip - """ - pass - - def test_get_analysis_strings(self) -> None: - """Test case for get_analysis_strings - - Get string information found in the Analysis - """ - pass - - def test_get_analysis_strings_status(self) -> None: - """Test case for get_analysis_strings_status - - Get string processing state for the Analysis - """ - pass - - def test_get_function_blocks(self) -> None: - """Test case for get_function_blocks - - Get disassembly blocks related to the function - """ - pass - - def test_get_function_callees_callers(self) -> None: - """Test case for get_function_callees_callers - - Get list of functions that call or are called by the specified function - """ - pass - - def test_get_function_callees_callers_bulk(self) -> None: - """Test case for get_function_callees_callers_bulk - - Get list of functions that call or are called for a list of functions - """ - pass - - def test_get_function_capabilities(self) -> None: - """Test case for get_function_capabilities - - Retrieve a functions capabilities - """ - pass - - def test_get_function_details(self) -> None: - """Test case for get_function_details - - Get function details - """ - pass - - def test_get_function_strings(self) -> None: - """Test case for get_function_strings - - Get string information found in the function - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_functions_data_types_api.py b/test/test_functions_data_types_api.py deleted file mode 100644 index 1022b841..00000000 --- a/test/test_functions_data_types_api.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.functions_data_types_api import FunctionsDataTypesApi - - -class TestFunctionsDataTypesApi(unittest.TestCase): - """FunctionsDataTypesApi unit test stubs""" - - def setUp(self) -> None: - self.api = FunctionsDataTypesApi() - - def tearDown(self) -> None: - pass - - def test_generate_function_data_types_for_analysis(self) -> None: - """Test case for generate_function_data_types_for_analysis - - Generate Function Data Types - """ - pass - - def test_generate_function_data_types_for_functions(self) -> None: - """Test case for generate_function_data_types_for_functions - - Generate Function Data Types for an arbitrary list of functions - """ - pass - - def test_get_function_data_types(self) -> None: - """Test case for get_function_data_types - - Get Function Data Types - """ - pass - - def test_list_function_data_types_for_analysis(self) -> None: - """Test case for list_function_data_types_for_analysis - - List Function Data Types - """ - pass - - def test_list_function_data_types_for_functions(self) -> None: - """Test case for list_function_data_types_for_functions - - List Function Data Types - """ - pass - - def test_update_function_data_types(self) -> None: - """Test case for update_function_data_types - - Update Function Data Types - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_functions_detail_response.py b/test/test_functions_detail_response.py deleted file mode 100644 index 62b6350b..00000000 --- a/test/test_functions_detail_response.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.functions_detail_response import FunctionsDetailResponse - -class TestFunctionsDetailResponse(unittest.TestCase): - """FunctionsDetailResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionsDetailResponse: - """Test FunctionsDetailResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionsDetailResponse` - """ - model = FunctionsDetailResponse() - if include_optional: - return FunctionsDetailResponse( - function_id = 56, - function_name = '', - function_name_mangled = '', - function_vaddr = 56, - function_size = 56, - analysis_id = 56, - binary_id = 56, - binary_name = '', - sha_256_hash = '', - debug_hash = '', - debug = True - ) - else: - return FunctionsDetailResponse( - function_id = 56, - function_name = '', - function_name_mangled = '', - function_vaddr = 56, - function_size = 56, - analysis_id = 56, - binary_id = 56, - binary_name = '', - sha_256_hash = '', - debug_hash = '', - debug = True, - ) - """ - - def testFunctionsDetailResponse(self): - """Test FunctionsDetailResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_functions_list_rename.py b/test/test_functions_list_rename.py deleted file mode 100644 index 552d2f6d..00000000 --- a/test/test_functions_list_rename.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.functions_list_rename import FunctionsListRename - -class TestFunctionsListRename(unittest.TestCase): - """FunctionsListRename unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> FunctionsListRename: - """Test FunctionsListRename - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FunctionsListRename` - """ - model = FunctionsListRename() - if include_optional: - return FunctionsListRename( - functions = [ - revengai.models.function_rename_map.FunctionRenameMap( - function_id = 56, - new_name = '', - new_mangled_name = '', ) - ] - ) - else: - return FunctionsListRename( - functions = [ - revengai.models.function_rename_map.FunctionRenameMap( - function_id = 56, - new_name = '', - new_mangled_name = '', ) - ], - ) - """ - - def testFunctionsListRename(self): - """Test FunctionsListRename""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_functions_renaming_history_api.py b/test/test_functions_renaming_history_api.py deleted file mode 100644 index 73af9c86..00000000 --- a/test/test_functions_renaming_history_api.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.functions_renaming_history_api import FunctionsRenamingHistoryApi - - -class TestFunctionsRenamingHistoryApi(unittest.TestCase): - """FunctionsRenamingHistoryApi unit test stubs""" - - def setUp(self) -> None: - self.api = FunctionsRenamingHistoryApi() - - def tearDown(self) -> None: - pass - - def test_batch_rename_function(self) -> None: - """Test case for batch_rename_function - - Batch Rename Functions - """ - pass - - def test_get_function_name_history(self) -> None: - """Test case for get_function_name_history - - Get Function Name History - """ - pass - - def test_rename_function_id(self) -> None: - """Test case for rename_function_id - - Rename Function - """ - pass - - def test_revert_function_name(self) -> None: - """Test case for revert_function_name - - Revert the function name - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_generate_function_data_types.py b/test/test_generate_function_data_types.py deleted file mode 100644 index 4c6c1b20..00000000 --- a/test/test_generate_function_data_types.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.generate_function_data_types import GenerateFunctionDataTypes - -class TestGenerateFunctionDataTypes(unittest.TestCase): - """GenerateFunctionDataTypes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GenerateFunctionDataTypes: - """Test GenerateFunctionDataTypes - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GenerateFunctionDataTypes` - """ - model = GenerateFunctionDataTypes() - if include_optional: - return GenerateFunctionDataTypes( - queued = True, - reference = '', - data_types_list = revengai.models.generation_status_list.GenerationStatusList( - total_count = 56, - total_data_types_count = 56, - items = [ - revengai.models.function_data_types_status.FunctionDataTypesStatus( - function_id = 56, - completed = True, - status = '', ) - ], ) - ) - else: - return GenerateFunctionDataTypes( - queued = True, - reference = '', - data_types_list = revengai.models.generation_status_list.GenerationStatusList( - total_count = 56, - total_data_types_count = 56, - items = [ - revengai.models.function_data_types_status.FunctionDataTypesStatus( - function_id = 56, - completed = True, - status = '', ) - ], ), - ) - """ - - def testGenerateFunctionDataTypes(self): - """Test GenerateFunctionDataTypes""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_generate_pdf_output_body.py b/test/test_generate_pdf_output_body.py deleted file mode 100644 index bbf7dd7b..00000000 --- a/test/test_generate_pdf_output_body.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.generate_pdf_output_body import GeneratePDFOutputBody - -class TestGeneratePDFOutputBody(unittest.TestCase): - """GeneratePDFOutputBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GeneratePDFOutputBody: - """Test GeneratePDFOutputBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GeneratePDFOutputBody` - """ - model = GeneratePDFOutputBody() - if include_optional: - return GeneratePDFOutputBody( - var_schema = '', - already_running = True, - task_id = '' - ) - else: - return GeneratePDFOutputBody( - task_id = '', - ) - """ - - def testGeneratePDFOutputBody(self): - """Test GeneratePDFOutputBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_generation_status_list.py b/test/test_generation_status_list.py deleted file mode 100644 index 52b716a0..00000000 --- a/test/test_generation_status_list.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.generation_status_list import GenerationStatusList - -class TestGenerationStatusList(unittest.TestCase): - """GenerationStatusList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GenerationStatusList: - """Test GenerationStatusList - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GenerationStatusList` - """ - model = GenerationStatusList() - if include_optional: - return GenerationStatusList( - total_count = 56, - total_data_types_count = 56, - items = [ - revengai.models.function_data_types_status.FunctionDataTypesStatus( - function_id = 56, - completed = True, - status = '', ) - ] - ) - else: - return GenerationStatusList( - items = [ - revengai.models.function_data_types_status.FunctionDataTypesStatus( - function_id = 56, - completed = True, - status = '', ) - ], - ) - """ - - def testGenerationStatusList(self): - """Test GenerationStatusList""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_get_ai_decompilation_rating_response.py b/test/test_get_ai_decompilation_rating_response.py deleted file mode 100644 index d748dd48..00000000 --- a/test/test_get_ai_decompilation_rating_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.get_ai_decompilation_rating_response import GetAiDecompilationRatingResponse - -class TestGetAiDecompilationRatingResponse(unittest.TestCase): - """GetAiDecompilationRatingResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GetAiDecompilationRatingResponse: - """Test GetAiDecompilationRatingResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GetAiDecompilationRatingResponse` - """ - model = GetAiDecompilationRatingResponse() - if include_optional: - return GetAiDecompilationRatingResponse( - rating = 'POSITIVE', - reason = '' - ) - else: - return GetAiDecompilationRatingResponse( - rating = 'POSITIVE', - reason = '', - ) - """ - - def testGetAiDecompilationRatingResponse(self): - """Test GetAiDecompilationRatingResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_get_ai_decompilation_task.py b/test/test_get_ai_decompilation_task.py deleted file mode 100644 index d4ac74bd..00000000 --- a/test/test_get_ai_decompilation_task.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.get_ai_decompilation_task import GetAiDecompilationTask - -class TestGetAiDecompilationTask(unittest.TestCase): - """GetAiDecompilationTask unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GetAiDecompilationTask: - """Test GetAiDecompilationTask - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GetAiDecompilationTask` - """ - model = GetAiDecompilationTask() - if include_optional: - return GetAiDecompilationTask( - status = 'uninitialised', - decompilation = '', - raw_decompilation = '', - function_mapping = { - 'key' : revengai.models.inverse_function_map_item.InverseFunctionMapItem( - name = '', - addr = null, - is_external = True, ) - }, - function_mapping_full = revengai.models.function_mapping_full.FunctionMappingFull( - inverse_string_map = { - 'key' : revengai.models.inverse_string_map_item.InverseStringMapItem( - string = '', - addr = 56, ) - }, - inverse_function_map = { - 'key' : revengai.models.inverse_function_map_item.InverseFunctionMapItem( - name = '', - addr = null, - is_external = True, ) - }, - unmatched_functions = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_custom_types = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_strings = { - 'key' : - }, - unmatched_vars = { - 'key' : - }, - unmatched_go_to_labels = { - 'key' : - }, - unmatched_custom_function_pointers = { - 'key' : - }, - unmatched_variadic_lists = { - 'key' : - }, - unmatched_enums = { - 'key' : - }, - unmatched_global_vars = { - 'key' : - }, - fields = { - 'key' : { - 'key' : - } - }, - unmatched_external_vars = { - 'key' : - }, - user_override_mappings = { - 'key' : '' - }, ), - summary = '', - ai_summary = '', - raw_ai_summary = '', - predicted_function_name = '' - ) - else: - return GetAiDecompilationTask( - status = 'uninitialised', - decompilation = '', - raw_decompilation = '', - function_mapping = { - 'key' : revengai.models.inverse_function_map_item.InverseFunctionMapItem( - name = '', - addr = null, - is_external = True, ) - }, - function_mapping_full = revengai.models.function_mapping_full.FunctionMappingFull( - inverse_string_map = { - 'key' : revengai.models.inverse_string_map_item.InverseStringMapItem( - string = '', - addr = 56, ) - }, - inverse_function_map = { - 'key' : revengai.models.inverse_function_map_item.InverseFunctionMapItem( - name = '', - addr = null, - is_external = True, ) - }, - unmatched_functions = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_custom_types = { - 'key' : revengai.models.inverse_value.InverseValue( - value = '', ) - }, - unmatched_strings = { - 'key' : - }, - unmatched_vars = { - 'key' : - }, - unmatched_go_to_labels = { - 'key' : - }, - unmatched_custom_function_pointers = { - 'key' : - }, - unmatched_variadic_lists = { - 'key' : - }, - unmatched_enums = { - 'key' : - }, - unmatched_global_vars = { - 'key' : - }, - fields = { - 'key' : { - 'key' : - } - }, - unmatched_external_vars = { - 'key' : - }, - user_override_mappings = { - 'key' : '' - }, ), - ) - """ - - def testGetAiDecompilationTask(self): - """Test GetAiDecompilationTask""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_get_me_response.py b/test/test_get_me_response.py deleted file mode 100644 index 4c4869d3..00000000 --- a/test/test_get_me_response.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.get_me_response import GetMeResponse - -class TestGetMeResponse(unittest.TestCase): - """GetMeResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GetMeResponse: - """Test GetMeResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GetMeResponse` - """ - model = GetMeResponse() - if include_optional: - return GetMeResponse( - username = '', - user_id = 56, - first_name = '', - last_name = '', - email = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tutorial_seen = True, - role = 'USER' - ) - else: - return GetMeResponse( - username = '', - user_id = 56, - first_name = '', - last_name = '', - email = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - tutorial_seen = True, - role = 'USER', - ) - """ - - def testGetMeResponse(self): - """Test GetMeResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_get_public_user_response.py b/test/test_get_public_user_response.py deleted file mode 100644 index 45746c44..00000000 --- a/test/test_get_public_user_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.get_public_user_response import GetPublicUserResponse - -class TestGetPublicUserResponse(unittest.TestCase): - """GetPublicUserResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GetPublicUserResponse: - """Test GetPublicUserResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GetPublicUserResponse` - """ - model = GetPublicUserResponse() - if include_optional: - return GetPublicUserResponse( - username = '', - user_id = 56 - ) - else: - return GetPublicUserResponse( - username = '', - user_id = 56, - ) - """ - - def testGetPublicUserResponse(self): - """Test GetPublicUserResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_global_variable.py b/test/test_global_variable.py deleted file mode 100644 index 42444feb..00000000 --- a/test/test_global_variable.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.global_variable import GlobalVariable - -class TestGlobalVariable(unittest.TestCase): - """GlobalVariable unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GlobalVariable: - """Test GlobalVariable - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GlobalVariable` - """ - model = GlobalVariable() - if include_optional: - return GlobalVariable( - last_change = '', - addr = 56, - name = '', - type = '', - size = 56, - artifact_type = '' - ) - else: - return GlobalVariable( - addr = 56, - name = '', - type = '', - size = 56, - ) - """ - - def testGlobalVariable(self): - """Test GlobalVariable""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_http_request.py b/test/test_http_request.py deleted file mode 100644 index a3849832..00000000 --- a/test/test_http_request.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.http_request import HttpRequest - -class TestHttpRequest(unittest.TestCase): - """HttpRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> HttpRequest: - """Test HttpRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `HttpRequest` - """ - model = HttpRequest() - if include_optional: - return HttpRequest( - events = [ - { - 'key' : null - } - ], - extra_headers = [ - '' - ], - flags = 56, - password = '', - path = '', - post_data = '', - proxy = '', - proxy_bypass = '', - referer = '', - server_name = '', - server_port = 56, - service = 56, - user_agent = '', - username = '', - verb = '', - version = '' - ) - else: - return HttpRequest( - ) - """ - - def testHttpRequest(self): - """Test HttpRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_icon_model.py b/test/test_icon_model.py deleted file mode 100644 index 0eb95928..00000000 --- a/test/test_icon_model.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.icon_model import IconModel - -class TestIconModel(unittest.TestCase): - """IconModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> IconModel: - """Test IconModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `IconModel` - """ - model = IconModel() - if include_optional: - return IconModel( - content = '' - ) - else: - return IconModel( - content = '', - ) - """ - - def testIconModel(self): - """Test IconModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_import_model.py b/test/test_import_model.py deleted file mode 100644 index dc81a83d..00000000 --- a/test/test_import_model.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.import_model import ImportModel - -class TestImportModel(unittest.TestCase): - """ImportModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ImportModel: - """Test ImportModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ImportModel` - """ - model = ImportModel() - if include_optional: - return ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ] - ) - else: - return ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], - ) - """ - - def testImportModel(self): - """Test ImportModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_comment.py b/test/test_inline_comment.py deleted file mode 100644 index c8f173ac..00000000 --- a/test/test_inline_comment.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.inline_comment import InlineComment - -class TestInlineComment(unittest.TestCase): - """InlineComment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InlineComment: - """Test InlineComment - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `InlineComment` - """ - model = InlineComment() - if include_optional: - return InlineComment( - comment = '', - line = 56 - ) - else: - return InlineComment( - comment = '', - line = 56, - ) - """ - - def testInlineComment(self): - """Test InlineComment""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_insert_analysis_log_request.py b/test/test_insert_analysis_log_request.py deleted file mode 100644 index 6b5706a6..00000000 --- a/test/test_insert_analysis_log_request.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.insert_analysis_log_request import InsertAnalysisLogRequest - -class TestInsertAnalysisLogRequest(unittest.TestCase): - """InsertAnalysisLogRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InsertAnalysisLogRequest: - """Test InsertAnalysisLogRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `InsertAnalysisLogRequest` - """ - model = InsertAnalysisLogRequest() - if include_optional: - return InsertAnalysisLogRequest( - log = '0' - ) - else: - return InsertAnalysisLogRequest( - log = '0', - ) - """ - - def testInsertAnalysisLogRequest(self): - """Test InsertAnalysisLogRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inverse_function_map_item.py b/test/test_inverse_function_map_item.py deleted file mode 100644 index e441e47c..00000000 --- a/test/test_inverse_function_map_item.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.inverse_function_map_item import InverseFunctionMapItem - -class TestInverseFunctionMapItem(unittest.TestCase): - """InverseFunctionMapItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InverseFunctionMapItem: - """Test InverseFunctionMapItem - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `InverseFunctionMapItem` - """ - model = InverseFunctionMapItem() - if include_optional: - return InverseFunctionMapItem( - name = '', - addr = None, - is_external = True - ) - else: - return InverseFunctionMapItem( - name = '', - addr = None, - ) - """ - - def testInverseFunctionMapItem(self): - """Test InverseFunctionMapItem""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inverse_string_map_item.py b/test/test_inverse_string_map_item.py deleted file mode 100644 index b7775361..00000000 --- a/test/test_inverse_string_map_item.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.inverse_string_map_item import InverseStringMapItem - -class TestInverseStringMapItem(unittest.TestCase): - """InverseStringMapItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InverseStringMapItem: - """Test InverseStringMapItem - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `InverseStringMapItem` - """ - model = InverseStringMapItem() - if include_optional: - return InverseStringMapItem( - string = '', - addr = 56 - ) - else: - return InverseStringMapItem( - string = '', - addr = 56, - ) - """ - - def testInverseStringMapItem(self): - """Test InverseStringMapItem""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inverse_value.py b/test/test_inverse_value.py deleted file mode 100644 index d7ff83f3..00000000 --- a/test/test_inverse_value.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.inverse_value import InverseValue - -class TestInverseValue(unittest.TestCase): - """InverseValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> InverseValue: - """Test InverseValue - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `InverseValue` - """ - model = InverseValue() - if include_optional: - return InverseValue( - value = '' - ) - else: - return InverseValue( - value = '', - ) - """ - - def testInverseValue(self): - """Test InverseValue""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ioc.py b/test/test_ioc.py deleted file mode 100644 index 014e778f..00000000 --- a/test/test_ioc.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.ioc import IOC - -class TestIOC(unittest.TestCase): - """IOC unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> IOC: - """Test IOC - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `IOC` - """ - model = IOC() - if include_optional: - return IOC( - type = 'ip', - value = '', - description = '', - source = '', - function_id = 56, - function_name = '' - ) - else: - return IOC( - type = 'ip', - value = '', - description = '', - ) - """ - - def testIOC(self): - """Test IOC""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_isa.py b/test/test_isa.py deleted file mode 100644 index 2a910dd9..00000000 --- a/test/test_isa.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.isa import ISA - -class TestISA(unittest.TestCase): - """ISA unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testISA(self): - """Test ISA""" - # inst = ISA() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_list_collection_results.py b/test/test_list_collection_results.py deleted file mode 100644 index 8b978021..00000000 --- a/test/test_list_collection_results.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.list_collection_results import ListCollectionResults - -class TestListCollectionResults(unittest.TestCase): - """ListCollectionResults unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ListCollectionResults: - """Test ListCollectionResults - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ListCollectionResults` - """ - model = ListCollectionResults() - if include_optional: - return ListCollectionResults( - results = [ - revengai.models.collection_list_item.CollectionListItem( - collection_name = '', - description = '', - collection_scope = '', - collection_owner = '', - official_collection = True, - collection_tags = [ - '' - ], - collection_size = 56, - collection_id = 56, - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_name = '', - team_id = 56, ) - ] - ) - else: - return ListCollectionResults( - results = [ - revengai.models.collection_list_item.CollectionListItem( - collection_name = '', - description = '', - collection_scope = '', - collection_owner = '', - official_collection = True, - collection_tags = [ - '' - ], - collection_size = 56, - collection_id = 56, - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - model_name = '', - team_id = 56, ) - ], - ) - """ - - def testListCollectionResults(self): - """Test ListCollectionResults""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_logs.py b/test/test_logs.py deleted file mode 100644 index 44198f76..00000000 --- a/test/test_logs.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.logs import Logs - -class TestLogs(unittest.TestCase): - """Logs unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Logs: - """Test Logs - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Logs` - """ - model = Logs() - if include_optional: - return Logs( - logs = '' - ) - else: - return Logs( - logs = '', - ) - """ - - def testLogs(self): - """Test Logs""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matched_function.py b/test/test_matched_function.py deleted file mode 100644 index b1777b44..00000000 --- a/test/test_matched_function.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.matched_function import MatchedFunction - -class TestMatchedFunction(unittest.TestCase): - """MatchedFunction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MatchedFunction: - """Test MatchedFunction - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MatchedFunction` - """ - model = MatchedFunction() - if include_optional: - return MatchedFunction( - function_id = 56, - binary_id = 56, - function_name = '', - function_vaddr = 56, - mangled_name = '', - debug = True, - binary_name = '', - sha_256_hash = '', - analysis_id = 56, - similarity = 1.337, - confidence = 1.337 - ) - else: - return MatchedFunction( - function_id = 56, - binary_id = 56, - function_name = '', - function_vaddr = 56, - mangled_name = '', - debug = True, - binary_name = '', - sha_256_hash = '', - analysis_id = 56, - ) - """ - - def testMatchedFunction(self): - """Test MatchedFunction""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matched_function_suggestion.py b/test/test_matched_function_suggestion.py deleted file mode 100644 index d47c1bab..00000000 --- a/test/test_matched_function_suggestion.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.matched_function_suggestion import MatchedFunctionSuggestion - -class TestMatchedFunctionSuggestion(unittest.TestCase): - """MatchedFunctionSuggestion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MatchedFunctionSuggestion: - """Test MatchedFunctionSuggestion - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MatchedFunctionSuggestion` - """ - model = MatchedFunctionSuggestion() - if include_optional: - return MatchedFunctionSuggestion( - function_id = 56, - function_vaddr = 56, - suggested_name = '', - suggested_demangled_name = '' - ) - else: - return MatchedFunctionSuggestion( - function_id = 56, - function_vaddr = 56, - suggested_demangled_name = '', - ) - """ - - def testMatchedFunctionSuggestion(self): - """Test MatchedFunctionSuggestion""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_memdump_entry.py b/test/test_memdump_entry.py deleted file mode 100644 index aeaa59b5..00000000 --- a/test/test_memdump_entry.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.memdump_entry import MemdumpEntry - -class TestMemdumpEntry(unittest.TestCase): - """MemdumpEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MemdumpEntry: - """Test MemdumpEntry - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MemdumpEntry` - """ - model = MemdumpEntry() - if include_optional: - return MemdumpEntry( - address = '', - dump_reason = '', - file_type = '', - filename = '', - index = 56, - is_pe = True, - method = '', - mime_type = '', - sha256 = '', - size = 56, - target_addr = '', - target_process = 56 - ) - else: - return MemdumpEntry( - address = '', - dump_reason = '', - filename = '', - index = 56, - method = '', - size = 56, - ) - """ - - def testMemdumpEntry(self): - """Test MemdumpEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_meta_model.py b/test/test_meta_model.py deleted file mode 100644 index 0edf0e10..00000000 --- a/test/test_meta_model.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.meta_model import MetaModel - -class TestMetaModel(unittest.TestCase): - """MetaModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MetaModel: - """Test MetaModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MetaModel` - """ - model = MetaModel() - if include_optional: - return MetaModel( - pagination = revengai.models.pagination_model.PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, ) - ) - else: - return MetaModel( - ) - """ - - def testMetaModel(self): - """Test MetaModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_mitre_technique.py b/test/test_mitre_technique.py deleted file mode 100644 index eef280c3..00000000 --- a/test/test_mitre_technique.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.mitre_technique import MITRETechnique - -class TestMITRETechnique(unittest.TestCase): - """MITRETechnique unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MITRETechnique: - """Test MITRETechnique - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MITRETechnique` - """ - model = MITRETechnique() - if include_optional: - return MITRETechnique( - start_addr = '', - end_addr = '', - function_addr = '', - technique_id = '', - technique_name = '', - description = '', - function_id = 56, - function_name = '', - technique_url = '', - technique_description = '' - ) - else: - return MITRETechnique( - start_addr = '', - end_addr = '', - function_addr = '', - technique_id = '', - technique_name = '', - description = '', - function_id = 56, - function_name = '', - technique_url = '', - technique_description = '', - ) - """ - - def testMITRETechnique(self): - """Test MITRETechnique""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_model_name.py b/test/test_model_name.py deleted file mode 100644 index 49afd282..00000000 --- a/test/test_model_name.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.model_name import ModelName - -class TestModelName(unittest.TestCase): - """ModelName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testModelName(self): - """Test ModelName""" - # inst = ModelName() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_models_api.py b/test/test_models_api.py deleted file mode 100644 index aa84acf8..00000000 --- a/test/test_models_api.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.models_api import ModelsApi - - -class TestModelsApi(unittest.TestCase): - """ModelsApi unit test stubs""" - - def setUp(self) -> None: - self.api = ModelsApi() - - def tearDown(self) -> None: - pass - - def test_get_models(self) -> None: - """Test case for get_models - - Gets models - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_models_response.py b/test/test_models_response.py deleted file mode 100644 index ea7e56be..00000000 --- a/test/test_models_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.models_response import ModelsResponse - -class TestModelsResponse(unittest.TestCase): - """ModelsResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModelsResponse: - """Test ModelsResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModelsResponse` - """ - model = ModelsResponse() - if include_optional: - return ModelsResponse( - models = [ - '' - ] - ) - else: - return ModelsResponse( - models = [ - '' - ], - ) - """ - - def testModelsResponse(self): - """Test ModelsResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_module_load_entry.py b/test/test_module_load_entry.py deleted file mode 100644 index e718041f..00000000 --- a/test/test_module_load_entry.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.module_load_entry import ModuleLoadEntry - -class TestModuleLoadEntry(unittest.TestCase): - """ModuleLoadEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ModuleLoadEntry: - """Test ModuleLoadEntry - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ModuleLoadEntry` - """ - model = ModuleLoadEntry() - if include_optional: - return ModuleLoadEntry( - modules = { - 'key' : '' - }, - pid = 56, - process_name = '', - process_seqid = 56 - ) - else: - return ModuleLoadEntry( - pid = 56, - ) - """ - - def testModuleLoadEntry(self): - """Test ModuleLoadEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_mutex_entry.py b/test/test_mutex_entry.py deleted file mode 100644 index f41cad94..00000000 --- a/test/test_mutex_entry.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.mutex_entry import MutexEntry - -class TestMutexEntry(unittest.TestCase): - """MutexEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> MutexEntry: - """Test MutexEntry - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MutexEntry` - """ - model = MutexEntry() - if include_optional: - return MutexEntry( - events = [ - { - 'key' : null - } - ], - name = '' - ) - else: - return MutexEntry( - name = '', - ) - """ - - def testMutexEntry(self): - """Test MutexEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_name_confidence.py b/test/test_name_confidence.py deleted file mode 100644 index 4b1f9c61..00000000 --- a/test/test_name_confidence.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.name_confidence import NameConfidence - -class TestNameConfidence(unittest.TestCase): - """NameConfidence unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NameConfidence: - """Test NameConfidence - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `NameConfidence` - """ - model = NameConfidence() - if include_optional: - return NameConfidence( - name = '', - confidence = 0 - ) - else: - return NameConfidence( - name = '', - confidence = 0, - ) - """ - - def testNameConfidence(self): - """Test NameConfidence""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_name_source_type.py b/test/test_name_source_type.py deleted file mode 100644 index 32d23e6e..00000000 --- a/test/test_name_source_type.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.name_source_type import NameSourceType - -class TestNameSourceType(unittest.TestCase): - """NameSourceType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NameSourceType: - """Test NameSourceType - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `NameSourceType` - """ - model = NameSourceType() - if include_optional: - return NameSourceType( - type = 'SYSTEM', - function_id = 56, - binary_id = 56, - analysis_id = 56 - ) - else: - return NameSourceType( - type = 'SYSTEM', - ) - """ - - def testNameSourceType(self): - """Test NameSourceType""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_network_activity.py b/test/test_network_activity.py deleted file mode 100644 index 51c788d5..00000000 --- a/test/test_network_activity.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.network_activity import NetworkActivity - -class TestNetworkActivity(unittest.TestCase): - """NetworkActivity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NetworkActivity: - """Test NetworkActivity - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `NetworkActivity` - """ - model = NetworkActivity() - if include_optional: - return NetworkActivity( - connections = [ - { - 'key' : null - } - ], - dns_queries = [ - { - 'key' : null - } - ], - extracted_urls = [ - { - 'key' : null - } - ], - http_requests = [ - { - 'key' : null - } - ] - ) - else: - return NetworkActivity( - ) - """ - - def testNetworkActivity(self): - """Test NetworkActivity""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_numeric_addr.py b/test/test_numeric_addr.py deleted file mode 100644 index 741a8193..00000000 --- a/test/test_numeric_addr.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.numeric_addr import NumericAddr - -class TestNumericAddr(unittest.TestCase): - """NumericAddr unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> NumericAddr: - """Test NumericAddr - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `NumericAddr` - """ - model = NumericAddr() - if include_optional: - return NumericAddr( - value = 56 - ) - else: - return NumericAddr( - value = 56, - ) - """ - - def testNumericAddr(self): - """Test NumericAddr""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_order.py b/test/test_order.py deleted file mode 100644 index 5262a6a8..00000000 --- a/test/test_order.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.order import Order - -class TestOrder(unittest.TestCase): - """Order unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOrder(self): - """Test Order""" - # inst = Order() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_pagination_model.py b/test/test_pagination_model.py deleted file mode 100644 index 49e999fc..00000000 --- a/test/test_pagination_model.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.pagination_model import PaginationModel - -class TestPaginationModel(unittest.TestCase): - """PaginationModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaginationModel: - """Test PaginationModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PaginationModel` - """ - model = PaginationModel() - if include_optional: - return PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True - ) - else: - return PaginationModel( - page_size = 56, - page_number = 56, - has_next_page = True, - ) - """ - - def testPaginationModel(self): - """Test PaginationModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_params.py b/test/test_params.py deleted file mode 100644 index a973fac3..00000000 --- a/test/test_params.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.params import Params - -class TestParams(unittest.TestCase): - """Params unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Params: - """Test Params - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Params` - """ - model = Params() - if include_optional: - return Params( - debug_hash = '', - binary_size = 56, - architecture = '', - binary_type = '', - binary_format = '', - binary_dynamic = True, - model_name = '' - ) - else: - return Params( - debug_hash = '', - binary_size = 56, - architecture = '', - binary_type = '', - binary_format = '', - binary_dynamic = True, - model_name = '', - ) - """ - - def testParams(self): - """Test Params""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_pdb_debug_model.py b/test/test_pdb_debug_model.py deleted file mode 100644 index 34009c77..00000000 --- a/test/test_pdb_debug_model.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.pdb_debug_model import PDBDebugModel - -class TestPDBDebugModel(unittest.TestCase): - """PDBDebugModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PDBDebugModel: - """Test PDBDebugModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PDBDebugModel` - """ - model = PDBDebugModel() - if include_optional: - return PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ] - ) - else: - return PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], - ) - """ - - def testPDBDebugModel(self): - """Test PDBDebugModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_pe_model.py b/test/test_pe_model.py deleted file mode 100644 index dcb9b61c..00000000 --- a/test/test_pe_model.py +++ /dev/null @@ -1,215 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.pe_model import PEModel - -class TestPEModel(unittest.TestCase): - """PEModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PEModel: - """Test PEModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PEModel` - """ - model = PEModel() - if include_optional: - return PEModel( - type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), - architecture = '', - checksum = 56, - image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), - version_info = { }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), - number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), - dotnet = True, - debug_stripped = True, - import_hash = '', - export_hash = '', - rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ) - ) - else: - return PEModel( - type = '', - timestamps = revengai.models.timestamp_model.TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, ), - architecture = '', - checksum = 56, - image_base = 56, - security = revengai.models.security_model.SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, ), - version_info = { }, - debug_info = revengai.models.pdb_debug_model.PDBDebugModel( - debug_entries = [ - revengai.models.single_pdb_entry_model.SinglePDBEntryModel( - guid = '', - age = 56, - path = '', ) - ], ), - number_of_resources = 56, - entry_point = revengai.models.entrypoint_model.EntrypointModel( - address = 56, - first_bytes = '', ), - signature = revengai.models.code_signature_model.CodeSignatureModel( - signed = True, - valid_signature = True, - signatures = [ - revengai.models.single_code_signature_model.SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', ) - ], ), - dotnet = True, - debug_stripped = True, - import_hash = '', - export_hash = '', - rich_header_hash = '', - sections = revengai.models.section_model.SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], ), - imports = revengai.models.import_model.ImportModel( - number_of_imports = 56, - imports = [ - { - 'key' : { - 'key' : 56 - } - } - ], ), - exports = revengai.models.export_model.ExportModel( - number_of_exports = 56, - exports = [ - { - 'key' : 56 - } - ], ), - icon_data = revengai.models.icon_model.IconModel( - content = '', ), - ) - """ - - def testPEModel(self): - """Test PEModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_platform.py b/test/test_platform.py deleted file mode 100644 index b373de72..00000000 --- a/test/test_platform.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.platform import Platform - -class TestPlatform(unittest.TestCase): - """Platform unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPlatform(self): - """Test Platform""" - # inst = Platform() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_process_activity_entry.py b/test/test_process_activity_entry.py deleted file mode 100644 index b16433c2..00000000 --- a/test/test_process_activity_entry.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.process_activity_entry import ProcessActivityEntry - -class TestProcessActivityEntry(unittest.TestCase): - """ProcessActivityEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProcessActivityEntry: - """Test ProcessActivityEntry - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProcessActivityEntry` - """ - model = ProcessActivityEntry() - if include_optional: - return ProcessActivityEntry( - args = [ - '' - ], - child_seqid = 56, - events = [ - { - 'key' : null - } - ], - exit_code = 56, - exit_code_str = '', - name = '', - pid = 56 - ) - else: - return ProcessActivityEntry( - child_seqid = 56, - name = '', - pid = 56, - ) - """ - - def testProcessActivityEntry(self): - """Test ProcessActivityEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_process_memdumps.py b/test/test_process_memdumps.py deleted file mode 100644 index e8e9a790..00000000 --- a/test/test_process_memdumps.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.process_memdumps import ProcessMemdumps - -class TestProcessMemdumps(unittest.TestCase): - """ProcessMemdumps unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProcessMemdumps: - """Test ProcessMemdumps - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProcessMemdumps` - """ - model = ProcessMemdumps() - if include_optional: - return ProcessMemdumps( - dumps = [ - { - 'key' : null - } - ], - process_seqid = 56 - ) - else: - return ProcessMemdumps( - process_seqid = 56, - ) - """ - - def testProcessMemdumps(self): - """Test ProcessMemdumps""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_process_node.py b/test/test_process_node.py deleted file mode 100644 index 3efe0c71..00000000 --- a/test/test_process_node.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.process_node import ProcessNode - -class TestProcessNode(unittest.TestCase): - """ProcessNode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProcessNode: - """Test ProcessNode - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProcessNode` - """ - model = ProcessNode() - if include_optional: - return ProcessNode( - args = [ - '' - ], - attributed = True, - children = [ - { - 'key' : null - } - ], - exit_code = 56, - exit_code_str = '', - exited_at = 1.337, - killed_by = 56, - name = '', - pid = 56, - seqid = 56, - started_at = 1.337 - ) - else: - return ProcessNode( - attributed = True, - name = '', - pid = 56, - seqid = 56, - ) - """ - - def testProcessNode(self): - """Test ProcessNode""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_process_tree.py b/test/test_process_tree.py deleted file mode 100644 index 705461e1..00000000 --- a/test/test_process_tree.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.process_tree import ProcessTree - -class TestProcessTree(unittest.TestCase): - """ProcessTree unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProcessTree: - """Test ProcessTree - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProcessTree` - """ - model = ProcessTree() - if include_optional: - return ProcessTree( - nodes = [ - { - 'key' : null - } - ], - sample_seqid = 56 - ) - else: - return ProcessTree( - ) - """ - - def testProcessTree(self): - """Test ProcessTree""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_progress_message.py b/test/test_progress_message.py deleted file mode 100644 index c686e362..00000000 --- a/test/test_progress_message.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.progress_message import ProgressMessage - -class TestProgressMessage(unittest.TestCase): - """ProgressMessage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProgressMessage: - """Test ProgressMessage - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ProgressMessage` - """ - model = ProgressMessage() - if include_optional: - return ProgressMessage( - level = 'INFO', - step = '', - text = '', - timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else: - return ProgressMessage( - level = 'INFO', - step = '', - text = '', - timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - """ - - def testProgressMessage(self): - """Test ProgressMessage""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_put_analysis_strings_request.py b/test/test_put_analysis_strings_request.py deleted file mode 100644 index d95e8853..00000000 --- a/test/test_put_analysis_strings_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.put_analysis_strings_request import PutAnalysisStringsRequest - -class TestPutAnalysisStringsRequest(unittest.TestCase): - """PutAnalysisStringsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PutAnalysisStringsRequest: - """Test PutAnalysisStringsRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PutAnalysisStringsRequest` - """ - model = PutAnalysisStringsRequest() - if include_optional: - return PutAnalysisStringsRequest( - strings = [ - revengai.models.analysis_string_input.AnalysisStringInput( - value = '', - vaddr = 56, - source = 'SYSTEM', ) - ] - ) - else: - return PutAnalysisStringsRequest( - strings = [ - revengai.models.analysis_string_input.AnalysisStringInput( - value = '', - vaddr = 56, - source = 'SYSTEM', ) - ], - ) - """ - - def testPutAnalysisStringsRequest(self): - """Test PutAnalysisStringsRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_queue_position_response.py b/test/test_queue_position_response.py deleted file mode 100644 index 4af0c999..00000000 --- a/test/test_queue_position_response.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.queue_position_response import QueuePositionResponse - -class TestQueuePositionResponse(unittest.TestCase): - """QueuePositionResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> QueuePositionResponse: - """Test QueuePositionResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `QueuePositionResponse` - """ - model = QueuePositionResponse() - if include_optional: - return QueuePositionResponse( - var_schema = '', - queue_position = 56 - ) - else: - return QueuePositionResponse( - queue_position = 56, - ) - """ - - def testQueuePositionResponse(self): - """Test QueuePositionResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_queued_workflow_task_response.py b/test/test_queued_workflow_task_response.py deleted file mode 100644 index 670f2094..00000000 --- a/test/test_queued_workflow_task_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.queued_workflow_task_response import QueuedWorkflowTaskResponse - -class TestQueuedWorkflowTaskResponse(unittest.TestCase): - """QueuedWorkflowTaskResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> QueuedWorkflowTaskResponse: - """Test QueuedWorkflowTaskResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `QueuedWorkflowTaskResponse` - """ - model = QueuedWorkflowTaskResponse() - if include_optional: - return QueuedWorkflowTaskResponse( - task_id = '' - ) - else: - return QueuedWorkflowTaskResponse( - task_id = '', - ) - """ - - def testQueuedWorkflowTaskResponse(self): - """Test QueuedWorkflowTaskResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_re_analysis_form.py b/test/test_re_analysis_form.py deleted file mode 100644 index ddb04d93..00000000 --- a/test/test_re_analysis_form.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.re_analysis_form import ReAnalysisForm - -class TestReAnalysisForm(unittest.TestCase): - """ReAnalysisForm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ReAnalysisForm: - """Test ReAnalysisForm - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ReAnalysisForm` - """ - model = ReAnalysisForm() - if include_optional: - return ReAnalysisForm( - tags = [ - '' - ], - command_line_args = '', - priority = 56, - essential = True, - model_name = '', - no_cache = True - ) - else: - return ReAnalysisForm( - ) - """ - - def testReAnalysisForm(self): - """Test ReAnalysisForm""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_recent.py b/test/test_recent.py deleted file mode 100644 index 4cbf4dba..00000000 --- a/test/test_recent.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.recent import Recent - -class TestRecent(unittest.TestCase): - """Recent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Recent: - """Test Recent - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Recent` - """ - model = Recent() - if include_optional: - return Recent( - results = [ - revengai.models.analysis_record.AnalysisRecord( - analysis_id = 56, - analysis_scope = '', - binary_id = 56, - model_id = 56, - model_name = '', - status = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_owner = True, - binary_name = '', - sha_256_hash = '', - function_boundaries_hash = '', - binary_size = 56, - username = '', - dynamic_execution_status = 'PENDING', - dynamic_execution_task_id = 56, - base_address = 56, - tags = [ - revengai.models.tag_item.TagItem( - name = '', - origin = '', - collection_id = 56, ) - ], ) - ] - ) - else: - return Recent( - results = [ - revengai.models.analysis_record.AnalysisRecord( - analysis_id = 56, - analysis_scope = '', - binary_id = 56, - model_id = 56, - model_name = '', - status = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - is_owner = True, - binary_name = '', - sha_256_hash = '', - function_boundaries_hash = '', - binary_size = 56, - username = '', - dynamic_execution_status = 'PENDING', - dynamic_execution_task_id = 56, - base_address = 56, - tags = [ - revengai.models.tag_item.TagItem( - name = '', - origin = '', - collection_id = 56, ) - ], ) - ], - ) - """ - - def testRecent(self): - """Test Recent""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_regenerate_output_body.py b/test/test_regenerate_output_body.py deleted file mode 100644 index 4d042d5f..00000000 --- a/test/test_regenerate_output_body.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.regenerate_output_body import RegenerateOutputBody - -class TestRegenerateOutputBody(unittest.TestCase): - """RegenerateOutputBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RegenerateOutputBody: - """Test RegenerateOutputBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RegenerateOutputBody` - """ - model = RegenerateOutputBody() - if include_optional: - return RegenerateOutputBody( - var_schema = '', - status = True - ) - else: - return RegenerateOutputBody( - status = True, - ) - """ - - def testRegenerateOutputBody(self): - """Test RegenerateOutputBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_regenerate_target.py b/test/test_regenerate_target.py deleted file mode 100644 index 9f20dea8..00000000 --- a/test/test_regenerate_target.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.regenerate_target import RegenerateTarget - -class TestRegenerateTarget(unittest.TestCase): - """RegenerateTarget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRegenerateTarget(self): - """Test RegenerateTarget""" - # inst = RegenerateTarget() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_registry_operation.py b/test/test_registry_operation.py deleted file mode 100644 index 5b19977c..00000000 --- a/test/test_registry_operation.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.registry_operation import RegistryOperation - -class TestRegistryOperation(unittest.TestCase): - """RegistryOperation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RegistryOperation: - """Test RegistryOperation - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RegistryOperation` - """ - model = RegistryOperation() - if include_optional: - return RegistryOperation( - events = [ - { - 'key' : null - } - ], - key = '' - ) - else: - return RegistryOperation( - key = '', - ) - """ - - def testRegistryOperation(self): - """Test RegistryOperation""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_relative_binary_response.py b/test/test_relative_binary_response.py deleted file mode 100644 index 7666c162..00000000 --- a/test/test_relative_binary_response.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.relative_binary_response import RelativeBinaryResponse - -class TestRelativeBinaryResponse(unittest.TestCase): - """RelativeBinaryResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RelativeBinaryResponse: - """Test RelativeBinaryResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RelativeBinaryResponse` - """ - model = RelativeBinaryResponse() - if include_optional: - return RelativeBinaryResponse( - binary_id = 56, - analysis_id = 56, - name = '', - sha256 = '' - ) - else: - return RelativeBinaryResponse( - binary_id = 56, - name = '', - sha256 = '', - ) - """ - - def testRelativeBinaryResponse(self): - """Test RelativeBinaryResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_replacement_value.py b/test/test_replacement_value.py deleted file mode 100644 index 354468d4..00000000 --- a/test/test_replacement_value.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.replacement_value import ReplacementValue - -class TestReplacementValue(unittest.TestCase): - """ReplacementValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ReplacementValue: - """Test ReplacementValue - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ReplacementValue` - """ - model = ReplacementValue() - if include_optional: - return ReplacementValue( - value = '' - ) - else: - return ReplacementValue( - value = '', - ) - """ - - def testReplacementValue(self): - """Test ReplacementValue""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_report_analysis_response.py b/test/test_report_analysis_response.py deleted file mode 100644 index 5c44bd0c..00000000 --- a/test/test_report_analysis_response.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.report_analysis_response import ReportAnalysisResponse - -class TestReportAnalysisResponse(unittest.TestCase): - """ReportAnalysisResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ReportAnalysisResponse: - """Test ReportAnalysisResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ReportAnalysisResponse` - """ - model = ReportAnalysisResponse() - if include_optional: - return ReportAnalysisResponse( - summary = '', - software_type = 'Malicious', - total_number_of_functions = 56, - number_of_analysed_functions = 56, - attack_flow_summary = '', - iocs = [ - revengai.models.ioc.IOC( - type = 'ip', - value = '', - description = '', - source = '', - function_id = 56, - function_name = '', ) - ], - executable_techniques = [ - revengai.models.mitre_technique.MITRETechnique( - start_addr = '', - end_addr = '', - function_addr = '', - technique_id = '', - technique_name = '', - description = '', - function_id = 56, - function_name = '', - technique_url = '', - technique_description = '', ) - ], - yara_rule = '' - ) - else: - return ReportAnalysisResponse( - summary = '', - software_type = 'Malicious', - total_number_of_functions = 56, - number_of_analysed_functions = 56, - attack_flow_summary = '', - iocs = [ - revengai.models.ioc.IOC( - type = 'ip', - value = '', - description = '', - source = '', - function_id = 56, - function_name = '', ) - ], - executable_techniques = [ - revengai.models.mitre_technique.MITRETechnique( - start_addr = '', - end_addr = '', - function_addr = '', - technique_id = '', - technique_name = '', - description = '', - function_id = 56, - function_name = '', - technique_url = '', - technique_description = '', ) - ], - yara_rule = '', - ) - """ - - def testReportAnalysisResponse(self): - """Test ReportAnalysisResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_report_event.py b/test/test_report_event.py deleted file mode 100644 index dbd27d07..00000000 --- a/test/test_report_event.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.report_event import ReportEvent - -class TestReportEvent(unittest.TestCase): - """ReportEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ReportEvent: - """Test ReportEvent - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ReportEvent` - """ - model = ReportEvent() - if include_optional: - return ReportEvent( - api_calls = [ - { - 'key' : null - } - ], - process_seqid = 56, - total_bytes_requested = 56, - type = '', - value = '', - value_name = '', - write_count = 56 - ) - else: - return ReportEvent( - type = '', - ) - """ - - def testReportEvent(self): - """Test ReportEvent""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_report_info.py b/test/test_report_info.py deleted file mode 100644 index 29916a11..00000000 --- a/test/test_report_info.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.report_info import ReportInfo - -class TestReportInfo(unittest.TestCase): - """ReportInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ReportInfo: - """Test ReportInfo - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ReportInfo` - """ - model = ReportInfo() - if include_optional: - return ReportInfo( - file = { - 'key' : null - }, - id = '', - options = { - 'key' : null - }, - os_profile = '', - status = '', - time_analysis_finished = '', - time_execution_started = '', - time_started = '' - ) - else: - return ReportInfo( - id = '', - ) - """ - - def testReportInfo(self): - """Test ReportInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_report_options.py b/test/test_report_options.py deleted file mode 100644 index d0dc4b42..00000000 --- a/test/test_report_options.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.report_options import ReportOptions - -class TestReportOptions(unittest.TestCase): - """ReportOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ReportOptions: - """Test ReportOptions - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ReportOptions` - """ - model = ReportOptions() - if include_optional: - return ReportOptions( - archive_entry_path = '', - extract_archive = True, - guest_target_directory = '', - guest_working_directory = '', - net_enable = True, - os_profile = '', - plugins = [ - '' - ], - preset = '', - sample_filename = '', - start_command = '', - start_method = '', - timeout = 56 - ) - else: - return ReportOptions( - ) - """ - - def testReportOptions(self): - """Test ReportOptions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_reports_api.py b/test/test_reports_api.py deleted file mode 100644 index 8bfe942e..00000000 --- a/test/test_reports_api.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.reports_api import ReportsApi - - -class TestReportsApi(unittest.TestCase): - """ReportsApi unit test stubs""" - - def setUp(self) -> None: - self.api = ReportsApi() - - def tearDown(self) -> None: - pass - - def test_create_pdf_report(self) -> None: - """Test case for create_pdf_report - - Start PDF report generation - """ - pass - - def test_download_pdf_report(self) -> None: - """Test case for download_pdf_report - - Download generated PDF report - """ - pass - - def test_get_pdf_report_status(self) -> None: - """Test case for get_pdf_report_status - - Get PDF report workflow status - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sandbox_options.py b/test/test_sandbox_options.py deleted file mode 100644 index 2f7f14cb..00000000 --- a/test/test_sandbox_options.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sandbox_options import SandboxOptions - -class TestSandboxOptions(unittest.TestCase): - """SandboxOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SandboxOptions: - """Test SandboxOptions - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SandboxOptions` - """ - model = SandboxOptions() - if include_optional: - return SandboxOptions( - enabled = True, - command_line_args = '', - start_method = 'standard_user_process', - timeout = 120 - ) - else: - return SandboxOptions( - ) - """ - - def testSandboxOptions(self): - """Test SandboxOptions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sandbox_start_method.py b/test/test_sandbox_start_method.py deleted file mode 100644 index f5e8a502..00000000 --- a/test/test_sandbox_start_method.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sandbox_start_method import SandboxStartMethod - -class TestSandboxStartMethod(unittest.TestCase): - """SandboxStartMethod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSandboxStartMethod(self): - """Test SandboxStartMethod""" - # inst = SandboxStartMethod() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sandbox_timeout.py b/test/test_sandbox_timeout.py deleted file mode 100644 index eb3d939d..00000000 --- a/test/test_sandbox_timeout.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sandbox_timeout import SandboxTimeout - -class TestSandboxTimeout(unittest.TestCase): - """SandboxTimeout unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSandboxTimeout(self): - """Test SandboxTimeout""" - # inst = SandboxTimeout() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sbom.py b/test/test_sbom.py deleted file mode 100644 index cac747b1..00000000 --- a/test/test_sbom.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sbom import SBOM - -class TestSBOM(unittest.TestCase): - """SBOM unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SBOM: - """Test SBOM - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SBOM` - """ - model = SBOM() - if include_optional: - return SBOM( - packages = [ - revengai.models.sbom_package.SBOMPackage( - name = '', - version = '', ) - ], - imported_libs = [ - '' - ] - ) - else: - return SBOM( - packages = [ - revengai.models.sbom_package.SBOMPackage( - name = '', - version = '', ) - ], - imported_libs = [ - '' - ], - ) - """ - - def testSBOM(self): - """Test SBOM""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sbom_package.py b/test/test_sbom_package.py deleted file mode 100644 index ce4e29a9..00000000 --- a/test/test_sbom_package.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sbom_package import SBOMPackage - -class TestSBOMPackage(unittest.TestCase): - """SBOMPackage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SBOMPackage: - """Test SBOMPackage - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SBOMPackage` - """ - model = SBOMPackage() - if include_optional: - return SBOMPackage( - name = '', - version = '' - ) - else: - return SBOMPackage( - name = '', - version = '', - ) - """ - - def testSBOMPackage(self): - """Test SBOMPackage""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_scheduled_task_entry.py b/test/test_scheduled_task_entry.py deleted file mode 100644 index 610ac58f..00000000 --- a/test/test_scheduled_task_entry.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.scheduled_task_entry import ScheduledTaskEntry - -class TestScheduledTaskEntry(unittest.TestCase): - """ScheduledTaskEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ScheduledTaskEntry: - """Test ScheduledTaskEntry - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ScheduledTaskEntry` - """ - model = ScheduledTaskEntry() - if include_optional: - return ScheduledTaskEntry( - command = '', - day = '', - end_date = '', - events = [ - { - 'key' : null - } - ], - executable = '', - modifier = '', - run_as = '', - schedule_type = '', - start_date = '', - start_time = '', - task_name = '' - ) - else: - return ScheduledTaskEntry( - ) - """ - - def testScheduledTaskEntry(self): - """Test ScheduledTaskEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_scrape_third_party_config.py b/test/test_scrape_third_party_config.py deleted file mode 100644 index 5ea23697..00000000 --- a/test/test_scrape_third_party_config.py +++ /dev/null @@ -1,50 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.scrape_third_party_config import ScrapeThirdPartyConfig - -class TestScrapeThirdPartyConfig(unittest.TestCase): - """ScrapeThirdPartyConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ScrapeThirdPartyConfig: - """Test ScrapeThirdPartyConfig - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ScrapeThirdPartyConfig` - """ - model = ScrapeThirdPartyConfig() - if include_optional: - return ScrapeThirdPartyConfig( - enabled = True - ) - else: - return ScrapeThirdPartyConfig( - ) - """ - - def testScrapeThirdPartyConfig(self): - """Test ScrapeThirdPartyConfig""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_search_api.py b/test/test_search_api.py deleted file mode 100644 index 6ec7e7c3..00000000 --- a/test/test_search_api.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.api.search_api import SearchApi - - -class TestSearchApi(unittest.TestCase): - """SearchApi unit test stubs""" - - def setUp(self) -> None: - self.api = SearchApi() - - def tearDown(self) -> None: - pass - - def test_search_binaries(self) -> None: - """Test case for search_binaries - - Binaries search - """ - pass - - def test_search_collections(self) -> None: - """Test case for search_collections - - Collections search - """ - pass - - def test_search_functions(self) -> None: - """Test case for search_functions - - Functions search - """ - pass - - def test_search_tags(self) -> None: - """Test case for search_tags - - Tags search - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_section_model.py b/test/test_section_model.py deleted file mode 100644 index d6927c93..00000000 --- a/test/test_section_model.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.section_model import SectionModel - -class TestSectionModel(unittest.TestCase): - """SectionModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SectionModel: - """Test SectionModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SectionModel` - """ - model = SectionModel() - if include_optional: - return SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ] - ) - else: - return SectionModel( - number_of_sections = 56, - sections = [ - revengai.models.single_section_model.SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', ) - ], - ) - """ - - def testSectionModel(self): - """Test SectionModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_security_model.py b/test/test_security_model.py deleted file mode 100644 index 54110d47..00000000 --- a/test/test_security_model.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.security_model import SecurityModel - -class TestSecurityModel(unittest.TestCase): - """SecurityModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SecurityModel: - """Test SecurityModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SecurityModel` - """ - model = SecurityModel() - if include_optional: - return SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True - ) - else: - return SecurityModel( - aslr = True, - dep = True, - cfg = True, - driver_model = True, - app_container = True, - terminal_server_aware = True, - image_isolation = True, - code_integrity = True, - high_entropy = True, - seh = True, - bound_image = True, - ) - """ - - def testSecurityModel(self): - """Test SecurityModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_segment_info.py b/test/test_segment_info.py deleted file mode 100644 index 1b3919ae..00000000 --- a/test/test_segment_info.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.segment_info import SegmentInfo - -class TestSegmentInfo(unittest.TestCase): - """SegmentInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SegmentInfo: - """Test SegmentInfo - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SegmentInfo` - """ - model = SegmentInfo() - if include_optional: - return SegmentInfo( - name = '', - r = True, - w = True, - x = True, - start = 56, - end = 56 - ) - else: - return SegmentInfo( - ) - """ - - def testSegmentInfo(self): - """Test SegmentInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_send_message_request.py b/test/test_send_message_request.py deleted file mode 100644 index 1349d3b2..00000000 --- a/test/test_send_message_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.send_message_request import SendMessageRequest - -class TestSendMessageRequest(unittest.TestCase): - """SendMessageRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SendMessageRequest: - """Test SendMessageRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SendMessageRequest` - """ - model = SendMessageRequest() - if include_optional: - return SendMessageRequest( - var_schema = '', - content = '', - context = { } - ) - else: - return SendMessageRequest( - content = '', - ) - """ - - def testSendMessageRequest(self): - """Test SendMessageRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_service_entry.py b/test/test_service_entry.py deleted file mode 100644 index 98544875..00000000 --- a/test/test_service_entry.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.service_entry import ServiceEntry - -class TestServiceEntry(unittest.TestCase): - """ServiceEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServiceEntry: - """Test ServiceEntry - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServiceEntry` - """ - model = ServiceEntry() - if include_optional: - return ServiceEntry( - binary_path = '', - display_name = '', - events = [ - { - 'key' : null - } - ], - name = '', - service_type = '', - start_type = '' - ) - else: - return ServiceEntry( - ) - """ - - def testServiceEntry(self): - """Test ServiceEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_single_code_certificate_model.py b/test/test_single_code_certificate_model.py deleted file mode 100644 index 65f0074a..00000000 --- a/test/test_single_code_certificate_model.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.single_code_certificate_model import SingleCodeCertificateModel - -class TestSingleCodeCertificateModel(unittest.TestCase): - """SingleCodeCertificateModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SingleCodeCertificateModel: - """Test SingleCodeCertificateModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SingleCodeCertificateModel` - """ - model = SingleCodeCertificateModel() - if include_optional: - return SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '' - ) - else: - return SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', - ) - """ - - def testSingleCodeCertificateModel(self): - """Test SingleCodeCertificateModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_single_code_signature_model.py b/test/test_single_code_signature_model.py deleted file mode 100644 index 1d964acd..00000000 --- a/test/test_single_code_signature_model.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.single_code_signature_model import SingleCodeSignatureModel - -class TestSingleCodeSignatureModel(unittest.TestCase): - """SingleCodeSignatureModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SingleCodeSignatureModel: - """Test SingleCodeSignatureModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SingleCodeSignatureModel` - """ - model = SingleCodeSignatureModel() - if include_optional: - return SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '' - ) - else: - return SingleCodeSignatureModel( - certificates = [ - revengai.models.single_code_certificate_model.SingleCodeCertificateModel( - version = 56, - issued_on = '', - expires_on = '', - issuer_name = '', - serial_number = '', - subject_name = '', ) - ], - authenticode_digest = '', - ) - """ - - def testSingleCodeSignatureModel(self): - """Test SingleCodeSignatureModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_single_pdb_entry_model.py b/test/test_single_pdb_entry_model.py deleted file mode 100644 index 4a8bc2c5..00000000 --- a/test/test_single_pdb_entry_model.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.single_pdb_entry_model import SinglePDBEntryModel - -class TestSinglePDBEntryModel(unittest.TestCase): - """SinglePDBEntryModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SinglePDBEntryModel: - """Test SinglePDBEntryModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SinglePDBEntryModel` - """ - model = SinglePDBEntryModel() - if include_optional: - return SinglePDBEntryModel( - guid = '', - age = 56, - path = '' - ) - else: - return SinglePDBEntryModel( - guid = '', - age = 56, - path = '', - ) - """ - - def testSinglePDBEntryModel(self): - """Test SinglePDBEntryModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_single_section_model.py b/test/test_single_section_model.py deleted file mode 100644 index b8299343..00000000 --- a/test/test_single_section_model.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.single_section_model import SingleSectionModel - -class TestSingleSectionModel(unittest.TestCase): - """SingleSectionModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SingleSectionModel: - """Test SingleSectionModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SingleSectionModel` - """ - model = SingleSectionModel() - if include_optional: - return SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '' - ) - else: - return SingleSectionModel( - name = '', - virtual_address = 56, - virtual_size = 56, - characteristics = '', - raw_size = 56, - entropy = 1.337, - sha3_256 = '', - ) - """ - - def testSingleSectionModel(self): - """Test SingleSectionModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_context_compacted_data.py b/test/test_sse_event_context_compacted_data.py deleted file mode 100644 index 16d33399..00000000 --- a/test/test_sse_event_context_compacted_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_context_compacted_data import SseEventContextCompactedData - -class TestSseEventContextCompactedData(unittest.TestCase): - """SseEventContextCompactedData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventContextCompactedData: - """Test SseEventContextCompactedData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventContextCompactedData` - """ - model = SseEventContextCompactedData() - if include_optional: - return SseEventContextCompactedData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventContextCompactedData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventContextCompactedData(self): - """Test SseEventContextCompactedData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_run_cancelled_data.py b/test/test_sse_event_run_cancelled_data.py deleted file mode 100644 index 4eef9be8..00000000 --- a/test/test_sse_event_run_cancelled_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_run_cancelled_data import SseEventRunCancelledData - -class TestSseEventRunCancelledData(unittest.TestCase): - """SseEventRunCancelledData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventRunCancelledData: - """Test SseEventRunCancelledData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventRunCancelledData` - """ - model = SseEventRunCancelledData() - if include_optional: - return SseEventRunCancelledData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventRunCancelledData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventRunCancelledData(self): - """Test SseEventRunCancelledData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_run_error_data.py b/test/test_sse_event_run_error_data.py deleted file mode 100644 index 0cd68e44..00000000 --- a/test/test_sse_event_run_error_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_run_error_data import SseEventRunErrorData - -class TestSseEventRunErrorData(unittest.TestCase): - """SseEventRunErrorData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventRunErrorData: - """Test SseEventRunErrorData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventRunErrorData` - """ - model = SseEventRunErrorData() - if include_optional: - return SseEventRunErrorData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventRunErrorData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventRunErrorData(self): - """Test SseEventRunErrorData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_run_finished_data.py b/test/test_sse_event_run_finished_data.py deleted file mode 100644 index c3fc1156..00000000 --- a/test/test_sse_event_run_finished_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_run_finished_data import SseEventRunFinishedData - -class TestSseEventRunFinishedData(unittest.TestCase): - """SseEventRunFinishedData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventRunFinishedData: - """Test SseEventRunFinishedData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventRunFinishedData` - """ - model = SseEventRunFinishedData() - if include_optional: - return SseEventRunFinishedData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventRunFinishedData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventRunFinishedData(self): - """Test SseEventRunFinishedData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_run_started_data.py b/test/test_sse_event_run_started_data.py deleted file mode 100644 index bd1894a2..00000000 --- a/test/test_sse_event_run_started_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_run_started_data import SseEventRunStartedData - -class TestSseEventRunStartedData(unittest.TestCase): - """SseEventRunStartedData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventRunStartedData: - """Test SseEventRunStartedData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventRunStartedData` - """ - model = SseEventRunStartedData() - if include_optional: - return SseEventRunStartedData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventRunStartedData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventRunStartedData(self): - """Test SseEventRunStartedData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_step_finished_data.py b/test/test_sse_event_step_finished_data.py deleted file mode 100644 index 3e55ff24..00000000 --- a/test/test_sse_event_step_finished_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_step_finished_data import SseEventStepFinishedData - -class TestSseEventStepFinishedData(unittest.TestCase): - """SseEventStepFinishedData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventStepFinishedData: - """Test SseEventStepFinishedData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventStepFinishedData` - """ - model = SseEventStepFinishedData() - if include_optional: - return SseEventStepFinishedData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventStepFinishedData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventStepFinishedData(self): - """Test SseEventStepFinishedData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_step_started_data.py b/test/test_sse_event_step_started_data.py deleted file mode 100644 index 4a129eca..00000000 --- a/test/test_sse_event_step_started_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_step_started_data import SseEventStepStartedData - -class TestSseEventStepStartedData(unittest.TestCase): - """SseEventStepStartedData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventStepStartedData: - """Test SseEventStepStartedData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventStepStartedData` - """ - model = SseEventStepStartedData() - if include_optional: - return SseEventStepStartedData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventStepStartedData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventStepStartedData(self): - """Test SseEventStepStartedData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_text_message_content_data.py b/test/test_sse_event_text_message_content_data.py deleted file mode 100644 index ee416a81..00000000 --- a/test/test_sse_event_text_message_content_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_text_message_content_data import SseEventTextMessageContentData - -class TestSseEventTextMessageContentData(unittest.TestCase): - """SseEventTextMessageContentData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventTextMessageContentData: - """Test SseEventTextMessageContentData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventTextMessageContentData` - """ - model = SseEventTextMessageContentData() - if include_optional: - return SseEventTextMessageContentData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventTextMessageContentData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventTextMessageContentData(self): - """Test SseEventTextMessageContentData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_text_message_end_data.py b/test/test_sse_event_text_message_end_data.py deleted file mode 100644 index 84d924df..00000000 --- a/test/test_sse_event_text_message_end_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_text_message_end_data import SseEventTextMessageEndData - -class TestSseEventTextMessageEndData(unittest.TestCase): - """SseEventTextMessageEndData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventTextMessageEndData: - """Test SseEventTextMessageEndData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventTextMessageEndData` - """ - model = SseEventTextMessageEndData() - if include_optional: - return SseEventTextMessageEndData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventTextMessageEndData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventTextMessageEndData(self): - """Test SseEventTextMessageEndData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_text_message_start_data.py b/test/test_sse_event_text_message_start_data.py deleted file mode 100644 index 24a4e294..00000000 --- a/test/test_sse_event_text_message_start_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_text_message_start_data import SseEventTextMessageStartData - -class TestSseEventTextMessageStartData(unittest.TestCase): - """SseEventTextMessageStartData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventTextMessageStartData: - """Test SseEventTextMessageStartData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventTextMessageStartData` - """ - model = SseEventTextMessageStartData() - if include_optional: - return SseEventTextMessageStartData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventTextMessageStartData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventTextMessageStartData(self): - """Test SseEventTextMessageStartData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_title_updated_data.py b/test/test_sse_event_title_updated_data.py deleted file mode 100644 index cdc69bad..00000000 --- a/test/test_sse_event_title_updated_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_title_updated_data import SseEventTitleUpdatedData - -class TestSseEventTitleUpdatedData(unittest.TestCase): - """SseEventTitleUpdatedData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventTitleUpdatedData: - """Test SseEventTitleUpdatedData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventTitleUpdatedData` - """ - model = SseEventTitleUpdatedData() - if include_optional: - return SseEventTitleUpdatedData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventTitleUpdatedData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventTitleUpdatedData(self): - """Test SseEventTitleUpdatedData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_tool_call_args_delta_data.py b/test/test_sse_event_tool_call_args_delta_data.py deleted file mode 100644 index f69a6eb1..00000000 --- a/test/test_sse_event_tool_call_args_delta_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_tool_call_args_delta_data import SseEventToolCallArgsDeltaData - -class TestSseEventToolCallArgsDeltaData(unittest.TestCase): - """SseEventToolCallArgsDeltaData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventToolCallArgsDeltaData: - """Test SseEventToolCallArgsDeltaData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventToolCallArgsDeltaData` - """ - model = SseEventToolCallArgsDeltaData() - if include_optional: - return SseEventToolCallArgsDeltaData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventToolCallArgsDeltaData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventToolCallArgsDeltaData(self): - """Test SseEventToolCallArgsDeltaData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_tool_call_end_data.py b/test/test_sse_event_tool_call_end_data.py deleted file mode 100644 index e75dd368..00000000 --- a/test/test_sse_event_tool_call_end_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_tool_call_end_data import SseEventToolCallEndData - -class TestSseEventToolCallEndData(unittest.TestCase): - """SseEventToolCallEndData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventToolCallEndData: - """Test SseEventToolCallEndData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventToolCallEndData` - """ - model = SseEventToolCallEndData() - if include_optional: - return SseEventToolCallEndData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventToolCallEndData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventToolCallEndData(self): - """Test SseEventToolCallEndData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_tool_call_result_data.py b/test/test_sse_event_tool_call_result_data.py deleted file mode 100644 index 5d30c7c6..00000000 --- a/test/test_sse_event_tool_call_result_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_tool_call_result_data import SseEventToolCallResultData - -class TestSseEventToolCallResultData(unittest.TestCase): - """SseEventToolCallResultData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventToolCallResultData: - """Test SseEventToolCallResultData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventToolCallResultData` - """ - model = SseEventToolCallResultData() - if include_optional: - return SseEventToolCallResultData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventToolCallResultData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventToolCallResultData(self): - """Test SseEventToolCallResultData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_tool_call_start_data.py b/test/test_sse_event_tool_call_start_data.py deleted file mode 100644 index d7b42ae2..00000000 --- a/test/test_sse_event_tool_call_start_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_tool_call_start_data import SseEventToolCallStartData - -class TestSseEventToolCallStartData(unittest.TestCase): - """SseEventToolCallStartData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventToolCallStartData: - """Test SseEventToolCallStartData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventToolCallStartData` - """ - model = SseEventToolCallStartData() - if include_optional: - return SseEventToolCallStartData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventToolCallStartData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventToolCallStartData(self): - """Test SseEventToolCallStartData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sse_event_tool_confirmation_required_data.py b/test/test_sse_event_tool_confirmation_required_data.py deleted file mode 100644 index 735d7620..00000000 --- a/test/test_sse_event_tool_confirmation_required_data.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.sse_event_tool_confirmation_required_data import SseEventToolConfirmationRequiredData - -class TestSseEventToolConfirmationRequiredData(unittest.TestCase): - """SseEventToolConfirmationRequiredData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SseEventToolConfirmationRequiredData: - """Test SseEventToolConfirmationRequiredData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SseEventToolConfirmationRequiredData` - """ - model = SseEventToolConfirmationRequiredData() - if include_optional: - return SseEventToolConfirmationRequiredData( - data = None, - event_id = 56, - type = '' - ) - else: - return SseEventToolConfirmationRequiredData( - data = None, - event_id = 56, - type = '', - ) - """ - - def testSseEventToolConfirmationRequiredData(self): - """Test SseEventToolConfirmationRequiredData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_stack_variable.py b/test/test_stack_variable.py deleted file mode 100644 index f34dd807..00000000 --- a/test/test_stack_variable.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.stack_variable import StackVariable - -class TestStackVariable(unittest.TestCase): - """StackVariable unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StackVariable: - """Test StackVariable - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `StackVariable` - """ - model = StackVariable() - if include_optional: - return StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56 - ) - else: - return StackVariable( - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, - ) - """ - - def testStackVariable(self): - """Test StackVariable""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_startup_info.py b/test/test_startup_info.py deleted file mode 100644 index abc236e7..00000000 --- a/test/test_startup_info.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.startup_info import StartupInfo - -class TestStartupInfo(unittest.TestCase): - """StartupInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StartupInfo: - """Test StartupInfo - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `StartupInfo` - """ - model = StartupInfo() - if include_optional: - return StartupInfo( - arguments = '', - error = '', - error_code = '', - pid = 56, - process = 56, - process_name = '', - status = '' - ) - else: - return StartupInfo( - ) - """ - - def testStartupInfo(self): - """Test StartupInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_status_input.py b/test/test_status_input.py deleted file mode 100644 index 8a64f395..00000000 --- a/test/test_status_input.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.status_input import StatusInput - -class TestStatusInput(unittest.TestCase): - """StatusInput unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatusInput(self): - """Test StatusInput""" - # inst = StatusInput() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_status_output.py b/test/test_status_output.py deleted file mode 100644 index 8f2a0306..00000000 --- a/test/test_status_output.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.status_output import StatusOutput - -class TestStatusOutput(unittest.TestCase): - """StatusOutput unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StatusOutput: - """Test StatusOutput - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `StatusOutput` - """ - model = StatusOutput() - if include_optional: - return StatusOutput( - analysis_id = 56, - analysis_status = '' - ) - else: - return StatusOutput( - analysis_id = 56, - analysis_status = '', - ) - """ - - def testStatusOutput(self): - """Test StatusOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_status_response.py b/test/test_status_response.py deleted file mode 100644 index 123adba2..00000000 --- a/test/test_status_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.status_response import StatusResponse - -class TestStatusResponse(unittest.TestCase): - """StatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StatusResponse: - """Test StatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `StatusResponse` - """ - model = StatusResponse() - if include_optional: - return StatusResponse( - var_schema = '', - conversation_uuid = '', - status = '', - trace_id = '' - ) - else: - return StatusResponse( - conversation_uuid = '', - status = '', - ) - """ - - def testStatusResponse(self): - """Test StatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_stream_events200_response_inner.py b/test/test_stream_events200_response_inner.py deleted file mode 100644 index 0edf0c5c..00000000 --- a/test/test_stream_events200_response_inner.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.stream_events200_response_inner import StreamEvents200ResponseInner - -class TestStreamEvents200ResponseInner(unittest.TestCase): - """StreamEvents200ResponseInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StreamEvents200ResponseInner: - """Test StreamEvents200ResponseInner - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `StreamEvents200ResponseInner` - """ - model = StreamEvents200ResponseInner() - if include_optional: - return StreamEvents200ResponseInner( - data = { }, - event = 'TOOL_CONFIRMATION_REQUIRED', - id = 56, - retry = 56 - ) - else: - return StreamEvents200ResponseInner( - data = { }, - event = 'TOOL_CONFIRMATION_REQUIRED', - ) - """ - - def testStreamEvents200ResponseInner(self): - """Test StreamEvents200ResponseInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_string_functions.py b/test/test_string_functions.py deleted file mode 100644 index bdfbc381..00000000 --- a/test/test_string_functions.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.string_functions import StringFunctions - -class TestStringFunctions(unittest.TestCase): - """StringFunctions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StringFunctions: - """Test StringFunctions - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `StringFunctions` - """ - model = StringFunctions() - if include_optional: - return StringFunctions( - value = '', - functions = [ - revengai.models.function.Function( - function_id = 56, - function_vaddr = 56, ) - ], - source = 'SYSTEM' - ) - else: - return StringFunctions( - value = '', - functions = [ - revengai.models.function.Function( - function_id = 56, - function_vaddr = 56, ) - ], - ) - """ - - def testStringFunctions(self): - """Test StringFunctions""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_string_source.py b/test/test_string_source.py deleted file mode 100644 index 925e7092..00000000 --- a/test/test_string_source.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.string_source import StringSource - -class TestStringSource(unittest.TestCase): - """StringSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStringSource(self): - """Test StringSource""" - # inst = StringSource() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_structure.py b/test/test_structure.py deleted file mode 100644 index 08abb593..00000000 --- a/test/test_structure.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.structure import Structure - -class TestStructure(unittest.TestCase): - """Structure unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Structure: - """Test Structure - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Structure` - """ - model = Structure() - if include_optional: - return Structure( - last_change = '', - name = '', - size = 56, - members = { - 'key' : revengai.models.structure_member.StructureMember( - last_change = '', - name = '', - offset = 56, - type = '', - size = 56, ) - }, - artifact_type = '' - ) - else: - return Structure( - name = '', - members = { - 'key' : revengai.models.structure_member.StructureMember( - last_change = '', - name = '', - offset = 56, - type = '', - size = 56, ) - }, - ) - """ - - def testStructure(self): - """Test Structure""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_structure_member.py b/test/test_structure_member.py deleted file mode 100644 index 40ab63b8..00000000 --- a/test/test_structure_member.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.structure_member import StructureMember - -class TestStructureMember(unittest.TestCase): - """StructureMember unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> StructureMember: - """Test StructureMember - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `StructureMember` - """ - model = StructureMember() - if include_optional: - return StructureMember( - last_change = '', - name = '', - offset = 56, - type = '', - size = 56 - ) - else: - return StructureMember( - name = '', - offset = 56, - type = '', - size = 56, - ) - """ - - def testStructureMember(self): - """Test StructureMember""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_submit_user_feedback_request.py b/test/test_submit_user_feedback_request.py deleted file mode 100644 index 234536d9..00000000 --- a/test/test_submit_user_feedback_request.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.submit_user_feedback_request import SubmitUserFeedbackRequest - -class TestSubmitUserFeedbackRequest(unittest.TestCase): - """SubmitUserFeedbackRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SubmitUserFeedbackRequest: - """Test SubmitUserFeedbackRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SubmitUserFeedbackRequest` - """ - model = SubmitUserFeedbackRequest() - if include_optional: - return SubmitUserFeedbackRequest( - current_route = '', - feedback = '', - screen_capture_url = '' - ) - else: - return SubmitUserFeedbackRequest( - current_route = '', - feedback = '', - ) - """ - - def testSubmitUserFeedbackRequest(self): - """Test SubmitUserFeedbackRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_summary_data.py b/test/test_summary_data.py deleted file mode 100644 index 62a3a2b4..00000000 --- a/test/test_summary_data.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.summary_data import SummaryData - -class TestSummaryData(unittest.TestCase): - """SummaryData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SummaryData: - """Test SummaryData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SummaryData` - """ - model = SummaryData() - if include_optional: - return SummaryData( - var_schema = '', - ai_summary = '', - summary = '', - task_status = 'UNINITIALISED' - ) - else: - return SummaryData( - ai_summary = '', - summary = '', - task_status = 'UNINITIALISED', - ) - """ - - def testSummaryData(self): - """Test SummaryData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_symbols.py b/test/test_symbols.py deleted file mode 100644 index c4220fa9..00000000 --- a/test/test_symbols.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.symbols import Symbols - -class TestSymbols(unittest.TestCase): - """Symbols unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Symbols: - """Test Symbols - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Symbols` - """ - model = Symbols() - if include_optional: - return Symbols( - base_address = 56, - function_boundaries = [ - revengai.models.function_boundary.FunctionBoundary( - mangled_name = '', - start_address = 56, - end_address = 56, - include_in_analysis = True, ) - ] - ) - else: - return Symbols( - base_address = 56, - ) - """ - - def testSymbols(self): - """Test Symbols""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tag.py b/test/test_tag.py deleted file mode 100644 index 48c6cdde..00000000 --- a/test/test_tag.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.tag import Tag - -class TestTag(unittest.TestCase): - """Tag unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Tag: - """Test Tag - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Tag` - """ - model = Tag() - if include_optional: - return Tag( - name = '' - ) - else: - return Tag( - name = '', - ) - """ - - def testTag(self): - """Test Tag""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tag_item.py b/test/test_tag_item.py deleted file mode 100644 index 7018f262..00000000 --- a/test/test_tag_item.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.tag_item import TagItem - -class TestTagItem(unittest.TestCase): - """TagItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TagItem: - """Test TagItem - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TagItem` - """ - model = TagItem() - if include_optional: - return TagItem( - name = '', - origin = '', - collection_id = 56 - ) - else: - return TagItem( - name = '', - origin = '', - ) - """ - - def testTagItem(self): - """Test TagItem""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tag_response.py b/test/test_tag_response.py deleted file mode 100644 index 8f98b7a2..00000000 --- a/test/test_tag_response.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.tag_response import TagResponse - -class TestTagResponse(unittest.TestCase): - """TagResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TagResponse: - """Test TagResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TagResponse` - """ - model = TagResponse() - if include_optional: - return TagResponse( - name = '', - origin = '' - ) - else: - return TagResponse( - name = '', - origin = '', - ) - """ - - def testTagResponse(self): - """Test TagResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tag_search_response.py b/test/test_tag_search_response.py deleted file mode 100644 index 19741d5f..00000000 --- a/test/test_tag_search_response.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.tag_search_response import TagSearchResponse - -class TestTagSearchResponse(unittest.TestCase): - """TagSearchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TagSearchResponse: - """Test TagSearchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TagSearchResponse` - """ - model = TagSearchResponse() - if include_optional: - return TagSearchResponse( - results = [ - revengai.models.tag_search_result.TagSearchResult( - tag_id = 56, - tag = '', ) - ] - ) - else: - return TagSearchResponse( - results = [ - revengai.models.tag_search_result.TagSearchResult( - tag_id = 56, - tag = '', ) - ], - ) - """ - - def testTagSearchResponse(self): - """Test TagSearchResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tag_search_result.py b/test/test_tag_search_result.py deleted file mode 100644 index 6a7b6539..00000000 --- a/test/test_tag_search_result.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.tag_search_result import TagSearchResult - -class TestTagSearchResult(unittest.TestCase): - """TagSearchResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TagSearchResult: - """Test TagSearchResult - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TagSearchResult` - """ - model = TagSearchResult() - if include_optional: - return TagSearchResult( - tag_id = 56, - tag = '' - ) - else: - return TagSearchResult( - tag_id = 56, - tag = '', - ) - """ - - def testTagSearchResult(self): - """Test TagSearchResult""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_task_response.py b/test/test_task_response.py deleted file mode 100644 index 86000ee6..00000000 --- a/test/test_task_response.py +++ /dev/null @@ -1,51 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.task_response import TaskResponse - -class TestTaskResponse(unittest.TestCase): - """TaskResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TaskResponse: - """Test TaskResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TaskResponse` - """ - model = TaskResponse() - if include_optional: - return TaskResponse( - status = 'UNINITIALISED', - error_message = '' - ) - else: - return TaskResponse( - ) - """ - - def testTaskResponse(self): - """Test TaskResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_task_status.py b/test/test_task_status.py deleted file mode 100644 index bdf3f80b..00000000 --- a/test/test_task_status.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.task_status import TaskStatus - -class TestTaskStatus(unittest.TestCase): - """TaskStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTaskStatus(self): - """Test TaskStatus""" - # inst = TaskStatus() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_task_status_response.py b/test/test_task_status_response.py deleted file mode 100644 index 958800ed..00000000 --- a/test/test_task_status_response.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.task_status_response import TaskStatusResponse - -class TestTaskStatusResponse(unittest.TestCase): - """TaskStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TaskStatusResponse: - """Test TaskStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TaskStatusResponse` - """ - model = TaskStatusResponse() - if include_optional: - return TaskStatusResponse( - status = 'UNINITIALISED', - log_history = [ - [ - null - ] - ] - ) - else: - return TaskStatusResponse( - status = 'UNINITIALISED', - ) - """ - - def testTaskStatusResponse(self): - """Test TaskStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_timestamp_model.py b/test/test_timestamp_model.py deleted file mode 100644 index fa5ab831..00000000 --- a/test/test_timestamp_model.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.timestamp_model import TimestampModel - -class TestTimestampModel(unittest.TestCase): - """TimestampModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TimestampModel: - """Test TimestampModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TimestampModel` - """ - model = TimestampModel() - if include_optional: - return TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56 - ) - else: - return TimestampModel( - pe_timestamp = 56, - export_timestamp = 56, - debug_timestamp = 56, - ) - """ - - def testTimestampModel(self): - """Test TimestampModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tokenised_data.py b/test/test_tokenised_data.py deleted file mode 100644 index 976f6d94..00000000 --- a/test/test_tokenised_data.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.tokenised_data import TokenisedData - -class TestTokenisedData(unittest.TestCase): - """TokenisedData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TokenisedData: - """Test TokenisedData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TokenisedData` - """ - model = TokenisedData() - if include_optional: - return TokenisedData( - var_schema = '', - function_mapping = revengai.models.function_mapping.FunctionMapping( - function_map = { - 'key' : 56 - }, - inverse_function_map = { - 'key' : 56 - }, - name_map = { - 'key' : '' - }, ), - predicted_function_name = '', - status = 'UNINITIALISED', - tokenised_decompilation = '' - ) - else: - return TokenisedData( - status = 'UNINITIALISED', - ) - """ - - def testTokenisedData(self): - """Test TokenisedData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_triage_function_response.py b/test/test_triage_function_response.py deleted file mode 100644 index 935b213b..00000000 --- a/test/test_triage_function_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.triage_function_response import TriageFunctionResponse - -class TestTriageFunctionResponse(unittest.TestCase): - """TriageFunctionResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TriageFunctionResponse: - """Test TriageFunctionResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TriageFunctionResponse` - """ - model = TriageFunctionResponse() - if include_optional: - return TriageFunctionResponse( - id = 56, - address = 56, - summary = '', - score = 0, - capabilities = [ - 'packing_and_obfuscation' - ] - ) - else: - return TriageFunctionResponse( - id = 56, - address = 56, - summary = '', - score = 0, - capabilities = [ - 'packing_and_obfuscation' - ], - ) - """ - - def testTriageFunctionResponse(self): - """Test TriageFunctionResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_triage_report_response.py b/test/test_triage_report_response.py deleted file mode 100644 index 4993661a..00000000 --- a/test/test_triage_report_response.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.triage_report_response import TriageReportResponse - -class TestTriageReportResponse(unittest.TestCase): - """TriageReportResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TriageReportResponse: - """Test TriageReportResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TriageReportResponse` - """ - model = TriageReportResponse() - if include_optional: - return TriageReportResponse( - software_score = 0, - summary = '', - functions = [ - revengai.models.triage_function_response.TriageFunctionResponse( - id = 56, - address = 56, - summary = '', - score = 0, - capabilities = [ - 'packing_and_obfuscation' - ], ) - ] - ) - else: - return TriageReportResponse( - software_score = 0, - summary = '', - functions = [ - revengai.models.triage_function_response.TriageFunctionResponse( - id = 56, - address = 56, - summary = '', - score = 0, - capabilities = [ - 'packing_and_obfuscation' - ], ) - ], - ) - """ - - def testTriageReportResponse(self): - """Test TriageReportResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ttp.py b/test/test_ttp.py deleted file mode 100644 index 696adb60..00000000 --- a/test/test_ttp.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.ttp import Ttp - -class TestTtp(unittest.TestCase): - """Ttp unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Ttp: - """Test Ttp - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Ttp` - """ - model = Ttp() - if include_optional: - return Ttp( - attck = [ - '' - ], - mbc = [ - null - ], - name = '', - namespace = '', - process_seqids = [ - 56 - ], - score = 56 - ) - else: - return Ttp( - score = 56, - ) - """ - - def testTtp(self): - """Test Ttp""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_type_definition.py b/test/test_type_definition.py deleted file mode 100644 index d036156e..00000000 --- a/test/test_type_definition.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.type_definition import TypeDefinition - -class TestTypeDefinition(unittest.TestCase): - """TypeDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TypeDefinition: - """Test TypeDefinition - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TypeDefinition` - """ - model = TypeDefinition() - if include_optional: - return TypeDefinition( - last_change = '', - name = '', - type = '', - artifact_type = '' - ) - else: - return TypeDefinition( - name = '', - type = '', - ) - """ - - def testTypeDefinition(self): - """Test TypeDefinition""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_unknown_enum_value.py b/test/test_unknown_enum_value.py new file mode 100644 index 00000000..97802804 --- /dev/null +++ b/test/test_unknown_enum_value.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Manual test for unknown enum value handling. + +The SDK's enum template (templates/model_enum.mustache) defines `_missing_` so +that values not declared in the SDK fall back to `UNKNOWN_DEFAULT_OPEN_API` +instead of raising `ValueError`. This protects callers from API responses that +introduce new enum values before the SDK is regenerated. +""" + +import json +import unittest + +from revengai.models.ai_decompilation_rating import AiDecompilationRating + + +class TestUnknownEnumValue(unittest.TestCase): + def test_known_value_resolves_normally(self): + self.assertIs(AiDecompilationRating("POSITIVE"), AiDecompilationRating.POSITIVE) + + def test_unknown_value_falls_back_to_unknown_default(self): + self.assertIs( + AiDecompilationRating("SOMETHING_NEW_FROM_THE_API"), + AiDecompilationRating.UNKNOWN_DEFAULT_OPEN_API, + ) + + def test_unknown_value_from_json_falls_back_to_unknown_default(self): + self.assertIs( + AiDecompilationRating.from_json(json.dumps("SOMETHING_NEW_FROM_THE_API")), + AiDecompilationRating.UNKNOWN_DEFAULT_OPEN_API, + ) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_update_function_data_types.py b/test/test_update_function_data_types.py deleted file mode 100644 index fc1d902f..00000000 --- a/test/test_update_function_data_types.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.update_function_data_types import UpdateFunctionDataTypes - -class TestUpdateFunctionDataTypes(unittest.TestCase): - """UpdateFunctionDataTypes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpdateFunctionDataTypes: - """Test UpdateFunctionDataTypes - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UpdateFunctionDataTypes` - """ - model = UpdateFunctionDataTypes() - if include_optional: - return UpdateFunctionDataTypes( - data_types_version = 56, - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ) - ) - else: - return UpdateFunctionDataTypes( - data_types_version = 56, - data_types = revengai.models.function_info.FunctionInfo( - func_types = revengai.models.function_type.FunctionType( - last_change = '', - addr = 56, - size = 56, - header = revengai.models.function_header.FunctionHeader( - last_change = '', - name = '', - addr = 56, - type = '', - args = { - 'key' : revengai.models.argument.Argument( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, ) - }, ), - stack_vars = { - 'key' : revengai.models.stack_variable.StackVariable( - last_change = '', - offset = 56, - name = '', - type = '', - size = 56, - addr = 56, ) - }, - name = '', - type = '', - artifact_type = 'Function', ), - func_deps = [ - null - ], ), - ) - """ - - def testUpdateFunctionDataTypes(self): - """Test UpdateFunctionDataTypes""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_upload_file_type.py b/test/test_upload_file_type.py deleted file mode 100644 index 594452ec..00000000 --- a/test/test_upload_file_type.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.upload_file_type import UploadFileType - -class TestUploadFileType(unittest.TestCase): - """UploadFileType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUploadFileType(self): - """Test UploadFileType""" - # inst = UploadFileType() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_upload_response.py b/test/test_upload_response.py deleted file mode 100644 index 9e0d221b..00000000 --- a/test/test_upload_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.upload_response import UploadResponse - -class TestUploadResponse(unittest.TestCase): - """UploadResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UploadResponse: - """Test UploadResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UploadResponse` - """ - model = UploadResponse() - if include_optional: - return UploadResponse( - sha_256_hash = '', - file_type = 'BINARY', - filename = '' - ) - else: - return UploadResponse( - sha_256_hash = '', - file_type = 'BINARY', - filename = '', - ) - """ - - def testUploadResponse(self): - """Test UploadResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_upsert_ai_decomplation_rating_request.py b/test/test_upsert_ai_decomplation_rating_request.py deleted file mode 100644 index 4d3939ed..00000000 --- a/test/test_upsert_ai_decomplation_rating_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.upsert_ai_decomplation_rating_request import UpsertAiDecomplationRatingRequest - -class TestUpsertAiDecomplationRatingRequest(unittest.TestCase): - """UpsertAiDecomplationRatingRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpsertAiDecomplationRatingRequest: - """Test UpsertAiDecomplationRatingRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UpsertAiDecomplationRatingRequest` - """ - model = UpsertAiDecomplationRatingRequest() - if include_optional: - return UpsertAiDecomplationRatingRequest( - rating = 'POSITIVE', - reason = '' - ) - else: - return UpsertAiDecomplationRatingRequest( - rating = 'POSITIVE', - reason = '', - ) - """ - - def testUpsertAiDecomplationRatingRequest(self): - """Test UpsertAiDecomplationRatingRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_upsert_overrides_data.py b/test/test_upsert_overrides_data.py deleted file mode 100644 index a946395e..00000000 --- a/test/test_upsert_overrides_data.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.upsert_overrides_data import UpsertOverridesData - -class TestUpsertOverridesData(unittest.TestCase): - """UpsertOverridesData unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpsertOverridesData: - """Test UpsertOverridesData - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UpsertOverridesData` - """ - model = UpsertOverridesData() - if include_optional: - return UpsertOverridesData( - var_schema = '', - user_override_mappings = { - 'key' : '' - } - ) - else: - return UpsertOverridesData( - user_override_mappings = { - 'key' : '' - }, - ) - """ - - def testUpsertOverridesData(self): - """Test UpsertOverridesData""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_upsert_overrides_input_body.py b/test/test_upsert_overrides_input_body.py deleted file mode 100644 index dcaf0f10..00000000 --- a/test/test_upsert_overrides_input_body.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.upsert_overrides_input_body import UpsertOverridesInputBody - -class TestUpsertOverridesInputBody(unittest.TestCase): - """UpsertOverridesInputBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UpsertOverridesInputBody: - """Test UpsertOverridesInputBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UpsertOverridesInputBody` - """ - model = UpsertOverridesInputBody() - if include_optional: - return UpsertOverridesInputBody( - var_schema = '', - overrides = { - 'key' : '' - } - ) - else: - return UpsertOverridesInputBody( - overrides = { - 'key' : '' - }, - ) - """ - - def testUpsertOverridesInputBody(self): - """Test UpsertOverridesInputBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_user_activity_response.py b/test/test_user_activity_response.py deleted file mode 100644 index dc607443..00000000 --- a/test/test_user_activity_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.user_activity_response import UserActivityResponse - -class TestUserActivityResponse(unittest.TestCase): - """UserActivityResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> UserActivityResponse: - """Test UserActivityResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UserActivityResponse` - """ - model = UserActivityResponse() - if include_optional: - return UserActivityResponse( - actions = '', - activity_scope = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '', - sources = '', - username = '' - ) - else: - return UserActivityResponse( - actions = '', - activity_scope = '', - creation = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '', - sources = '', - username = '', - ) - """ - - def testUserActivityResponse(self): - """Test UserActivityResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_vulnerabilities.py b/test/test_vulnerabilities.py deleted file mode 100644 index 0d679ae2..00000000 --- a/test/test_vulnerabilities.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.vulnerabilities import Vulnerabilities - -class TestVulnerabilities(unittest.TestCase): - """Vulnerabilities unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Vulnerabilities: - """Test Vulnerabilities - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Vulnerabilities` - """ - model = Vulnerabilities() - if include_optional: - return Vulnerabilities( - vulnerabilities = [ - revengai.models.vulnerability.Vulnerability( - vendor = '', - product = '', - version = '', - cve_number = '', - severity = 'CRITICAL', - source = '', - cvss_version = '', - cvss_vector = '', - remarks = '', - score = 1.337, - is_unknown = True, ) - ] - ) - else: - return Vulnerabilities( - vulnerabilities = [ - revengai.models.vulnerability.Vulnerability( - vendor = '', - product = '', - version = '', - cve_number = '', - severity = 'CRITICAL', - source = '', - cvss_version = '', - cvss_vector = '', - remarks = '', - score = 1.337, - is_unknown = True, ) - ], - ) - """ - - def testVulnerabilities(self): - """Test Vulnerabilities""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_vulnerability.py b/test/test_vulnerability.py deleted file mode 100644 index 9e088ff4..00000000 --- a/test/test_vulnerability.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.vulnerability import Vulnerability - -class TestVulnerability(unittest.TestCase): - """Vulnerability unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Vulnerability: - """Test Vulnerability - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Vulnerability` - """ - model = Vulnerability() - if include_optional: - return Vulnerability( - vendor = '', - product = '', - version = '', - cve_number = '', - severity = 'CRITICAL', - source = '', - cvss_version = '', - cvss_vector = '', - remarks = '', - score = 1.337, - is_unknown = True - ) - else: - return Vulnerability( - vendor = '', - product = '', - version = '', - cve_number = '', - severity = 'CRITICAL', - source = '', - cvss_version = '', - cvss_vector = '', - remarks = '', - score = 1.337, - ) - """ - - def testVulnerability(self): - """Test Vulnerability""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_workflow_progress.py b/test/test_workflow_progress.py deleted file mode 100644 index 9cea4eb2..00000000 --- a/test/test_workflow_progress.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.workflow_progress import WorkflowProgress - -class TestWorkflowProgress(unittest.TestCase): - """WorkflowProgress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> WorkflowProgress: - """Test WorkflowProgress - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `WorkflowProgress` - """ - model = WorkflowProgress() - if include_optional: - return WorkflowProgress( - var_schema = '', - messages = [ - { } - ], - status = 'UNINITIALISED', - step = '', - step_index = 56, - steps_total = 56 - ) - else: - return WorkflowProgress( - messages = [ - { } - ], - status = 'UNINITIALISED', - step = '', - step_index = 56, - steps_total = 56, - ) - """ - - def testWorkflowProgress(self): - """Test WorkflowProgress""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_workspace.py b/test/test_workspace.py deleted file mode 100644 index 09d19bfa..00000000 --- a/test/test_workspace.py +++ /dev/null @@ -1,32 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.workspace import Workspace - -class TestWorkspace(unittest.TestCase): - """Workspace unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWorkspace(self): - """Test Workspace""" - # inst = Workspace() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_xref_from_response.py b/test/test_xref_from_response.py deleted file mode 100644 index 12174766..00000000 --- a/test/test_xref_from_response.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.xref_from_response import XrefFromResponse - -class TestXrefFromResponse(unittest.TestCase): - """XrefFromResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> XrefFromResponse: - """Test XrefFromResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `XrefFromResponse` - """ - model = XrefFromResponse() - if include_optional: - return XrefFromResponse( - value = '', - is_scalar = True, - is_call = True, - is_data = True, - is_string = True, - raw_data = '', - segment = revengai.models.segment_info.SegmentInfo( - name = '', - r = True, - w = True, - x = True, - start = 56, - end = 56, ), - orig_str_encoding = '', - xref_to = '' - ) - else: - return XrefFromResponse( - value = '', - xref_to = '', - ) - """ - - def testXrefFromResponse(self): - """Test XrefFromResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_xref_response.py b/test/test_xref_response.py deleted file mode 100644 index 47da47e7..00000000 --- a/test/test_xref_response.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.xref_response import XrefResponse - -class TestXrefResponse(unittest.TestCase): - """XrefResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> XrefResponse: - """Test XrefResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `XrefResponse` - """ - model = XrefResponse() - if include_optional: - return XrefResponse( - xref_to_list = [ - revengai.models.xref_to_response.XrefToResponse( - value = '', - is_scalar = True, - is_call = True, - is_data = True, - is_string = True, - raw_data = '', - segment = revengai.models.segment_info.SegmentInfo( - name = '', - r = True, - w = True, - x = True, - start = 56, - end = 56, ), - orig_str_encoding = '', - xref_from = '', ) - ], - xref_from_list = [ - revengai.models.xref_from_response.XrefFromResponse( - value = '', - is_scalar = True, - is_call = True, - is_data = True, - is_string = True, - raw_data = '', - segment = revengai.models.segment_info.SegmentInfo( - name = '', - r = True, - w = True, - x = True, - start = 56, - end = 56, ), - orig_str_encoding = '', - xref_to = '', ) - ] - ) - else: - return XrefResponse( - xref_to_list = [ - revengai.models.xref_to_response.XrefToResponse( - value = '', - is_scalar = True, - is_call = True, - is_data = True, - is_string = True, - raw_data = '', - segment = revengai.models.segment_info.SegmentInfo( - name = '', - r = True, - w = True, - x = True, - start = 56, - end = 56, ), - orig_str_encoding = '', - xref_from = '', ) - ], - xref_from_list = [ - revengai.models.xref_from_response.XrefFromResponse( - value = '', - is_scalar = True, - is_call = True, - is_data = True, - is_string = True, - raw_data = '', - segment = revengai.models.segment_info.SegmentInfo( - name = '', - r = True, - w = True, - x = True, - start = 56, - end = 56, ), - orig_str_encoding = '', - xref_to = '', ) - ], - ) - """ - - def testXrefResponse(self): - """Test XrefResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_xref_to_response.py b/test/test_xref_to_response.py deleted file mode 100644 index 79e94baa..00000000 --- a/test/test_xref_to_response.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - RevEng.AI API - - RevEng.AI is an AI-powered binary analysis platform for reverse engineering and malware analysis. It provides similarity search across executable binaries and functions, AI-driven decompilation, dynamic execution analysis, firmware unpacking, and integration with external threat intelligence sources like VirusTotal. - - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from revengai.models.xref_to_response import XrefToResponse - -class TestXrefToResponse(unittest.TestCase): - """XrefToResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> XrefToResponse: - """Test XrefToResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `XrefToResponse` - """ - model = XrefToResponse() - if include_optional: - return XrefToResponse( - value = '', - is_scalar = True, - is_call = True, - is_data = True, - is_string = True, - raw_data = '', - segment = revengai.models.segment_info.SegmentInfo( - name = '', - r = True, - w = True, - x = True, - start = 56, - end = 56, ), - orig_str_encoding = '', - xref_from = '' - ) - else: - return XrefToResponse( - value = '', - xref_from = '', - ) - """ - - def testXrefToResponse(self): - """Test XrefToResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main()