Conghao97's picture tcftrees's picture
ProgramGen release
d086025
Raw History Blame Contribute Delete
34.1 kB
{
"passed_ptp": [
"tests.test_bootstrap::TestBootstrapName::test_bootstrap_name_windows",
"tests.test_bootstrap::TestBootstrapName::test_bootstrap_name_macos",
"tests.test_bootstrap::TestBootstrapName::test_bootstrap_name_linux",
"tests.test_bootstrap::TestMoveBootstrap::test_move_bootstrap_windows",
"tests.test_bootstrap::TestMoveBootstrap::test_move_bootstrap_macos",
"tests.test_bootstrap::TestMoveBootstrap::test_move_bootstrap_linux",
"tests.test_bootstrap::TestMakeExecutable::test_make_executable",
"tests.test_bootstrap::TestExecuteBootstrap::test_execute_bootstrap_windows",
"tests.test_bootstrap::TestExecuteBootstrap::test_execute_bootstrap_linux",
"tests.test_bootstrap::TestExecuteBootstrap::test_execute_bootstrap_macos",
"tests.test_callbacks::TestCallCallback::test_calls_callback_with_args",
"tests.test_callbacks::TestCallCallback::test_calls_callback_with_kwargs",
"tests.test_callbacks::TestCallCallback::test_calls_callback_with_args_and_kwargs",
"tests.test_callbacks::TestCallCallback::test_callback_exception_is_caught",
"tests.test_callbacks::TestCallCallback::test_callback_with_no_args",
"tests.test_callbacks::TestCallCallback::test_multiple_exceptions_are_handled",
"tests.test_callbacks::TestCallCallback::test_callback_return_value_when_successful",
"tests.test_callbacks::TestCallCallback::test_callback_with_complex_args",
"tests.test_callbacks::TestCallCallback::test_callback_exception_logged",
"tests.test_callbacks::TestCallCallback::test_preserves_callback_side_effects",
"tests.test_callbacks::TestCallCallback::test_callback_with_nested_structures",
"tests.test_download::TestDownloadUpdate::test_successful_download",
"tests.test_download::TestDownloadUpdate::test_download_with_progress_callback",
"tests.test_download::TestDownloadUpdate::test_download_with_custom_chunk_size",
"tests.test_download::TestDownloadUpdate::test_download_without_content_length",
"tests.test_download::TestDownloadUpdate::test_download_http_error",
"tests.test_download::TestDownloadUpdate::test_download_without_progress_callback",
"tests.test_download::TestDownloadUpdate::test_download_empty_file",
"tests.test_download::TestDownloadUpdate::test_download_creates_file_in_binary_mode",
"tests.test_extract::TestExtractUpdate::test_extract_simple_zip",
"tests.test_extract::TestExtractUpdate::test_extract_preserves_content",
"tests.test_extract::TestExtractUpdate::test_extract_password_protected_zip",
"tests.test_extract::TestExtractUpdate::test_extract_to_nonexistent_directory",
"tests.test_extract::TestExtractUpdate::test_extract_returns_destination_path",
"tests.test_extract::TestExtractUpdate::test_extract_multiple_files",
"tests.test_extract::TestExtractUpdate::test_extract_binary_files",
"tests.test_extract::TestExtractUpdate::test_extract_empty_zip",
"tests.test_extract::TestExtractUpdate::test_extract_invalid_zip_raises_error",
"tests.test_perform_update::TestPerformUpdate::test_successful_update_flow_windows",
"tests.test_perform_update::TestPerformUpdate::test_no_update_available_same_version",
"tests.test_perform_update::TestPerformUpdate::test_no_update_for_current_platform",
"tests.test_perform_update::TestPerformUpdate::test_user_cancels_update",
"tests.test_perform_update::TestPerformUpdate::test_no_update_check_response",
"tests.test_perform_update::TestPerformUpdate::test_successful_update_flow_linux",
"tests.test_perform_update::TestPerformUpdate::test_update_with_password_protected_zip",
"tests.test_perform_update::TestPerformUpdate::test_version_comparison_uses_release_order",
"tests.test_platform::TestPlatformSpecificBootstrapSelection::test_bootstrap_selection_by_platform",
"tests.test_platform::TestPlatformSpecificPathHandling::test_macos_uses_resources_directory",
"tests.test_platform::TestPlatformSpecificPathHandling::test_windows_uses_flat_structure",
"tests.test_platform::TestPlatformSpecificPathHandling::test_linux_uses_flat_structure",
"tests.test_platform::TestCrossPlatformUpdateFlow::test_bootstrap_file_exists_for_platform",
"tests.test_session::TestCreateRequestsSession::test_creates_session_without_app_info",
"tests.test_session::TestCreateRequestsSession::test_creates_session_with_app_name_only",
"tests.test_session::TestCreateRequestsSession::test_creates_session_with_app_name_and_version",
"tests.test_session::TestCreateRequestsSession::test_session_with_version_only",
"tests.test_session::TestCreateRequestsSession::test_user_agent_format",
"tests.test_session::TestCreateRequestsSession::test_session_is_independent",
"tests.test_update_check::TestFindUpdate::test_successful_update_check",
"tests.test_update_check::TestFindUpdate::test_update_check_with_custom_user_agent",
"tests.test_update_check::TestFindUpdate::test_update_check_http_error",
"tests.test_update_check::TestFindUpdate::test_update_check_server_error",
"tests.test_update_check::TestFindUpdate::test_update_check_returns_empty_response",
"tests.test_update_check::TestFindUpdate::test_update_check_minimal_response",
"tests.test_update_check::TestFindUpdate::test_update_check_with_description",
"tests.test_update_check::TestFindUpdate::test_multiple_update_checks"
],
"test_files": [
"tests/conftest.py",
"tests/test_bootstrap.py",
"tests/test_callbacks.py",
"tests/test_download.py",
"tests/test_extract.py",
"tests/test_perform_update.py",
"tests/test_platform.py",
"tests/test_session.py",
"tests/test_update_check.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=-v --strict-markers --tb=short",
"tests/test_bootstrap.py",
"tests/test_callbacks.py",
"tests/test_download.py",
"tests/test_extract.py",
"tests/test_perform_update.py",
"tests/test_platform.py",
"tests/test_session.py",
"tests/test_update_check.py"
],
"test_payload_contract": {
"schema_version": "programgen.test-payload-contract.v1",
"test_files": [
"tests/conftest.py",
"tests/test_bootstrap.py",
"tests/test_callbacks.py",
"tests/test_download.py",
"tests/test_extract.py",
"tests/test_perform_update.py",
"tests/test_platform.py",
"tests/test_session.py",
"tests/test_update_check.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=-v --strict-markers --tb=short",
"tests/test_bootstrap.py",
"tests/test_callbacks.py",
"tests/test_download.py",
"tests/test_extract.py",
"tests/test_perform_update.py",
"tests/test_platform.py",
"tests/test_session.py",
"tests/test_update_check.py"
],
"text_fixtures": [],
"binary_fixtures": [],
"nonportable_absolute_paths": [],
"required_external_commands": [],
"declared_console_scripts": [],
"unresolved_external_commands": []
},
"unit_test": [
"tests.test_bootstrap::TestBootstrapName::test_bootstrap_name_windows",
"tests.test_bootstrap::TestBootstrapName::test_bootstrap_name_macos",
"tests.test_bootstrap::TestBootstrapName::test_bootstrap_name_linux",
"tests.test_bootstrap::TestMoveBootstrap::test_move_bootstrap_windows",
"tests.test_bootstrap::TestMoveBootstrap::test_move_bootstrap_macos",
"tests.test_bootstrap::TestMoveBootstrap::test_move_bootstrap_linux",
"tests.test_bootstrap::TestMakeExecutable::test_make_executable",
"tests.test_bootstrap::TestExecuteBootstrap::test_execute_bootstrap_windows",
"tests.test_bootstrap::TestExecuteBootstrap::test_execute_bootstrap_linux",
"tests.test_bootstrap::TestExecuteBootstrap::test_execute_bootstrap_macos",
"tests.test_callbacks::TestCallCallback::test_calls_callback_with_args",
"tests.test_callbacks::TestCallCallback::test_calls_callback_with_kwargs",
"tests.test_callbacks::TestCallCallback::test_calls_callback_with_args_and_kwargs",
"tests.test_callbacks::TestCallCallback::test_callback_exception_is_caught",
"tests.test_callbacks::TestCallCallback::test_callback_with_no_args",
"tests.test_callbacks::TestCallCallback::test_multiple_exceptions_are_handled",
"tests.test_callbacks::TestCallCallback::test_callback_return_value_when_successful",
"tests.test_callbacks::TestCallCallback::test_callback_with_complex_args",
"tests.test_callbacks::TestCallCallback::test_callback_exception_logged",
"tests.test_callbacks::TestCallCallback::test_preserves_callback_side_effects",
"tests.test_callbacks::TestCallCallback::test_callback_with_nested_structures",
"tests.test_download::TestDownloadUpdate::test_successful_download",
"tests.test_download::TestDownloadUpdate::test_download_with_progress_callback",
"tests.test_download::TestDownloadUpdate::test_download_with_custom_chunk_size",
"tests.test_download::TestDownloadUpdate::test_download_without_content_length",
"tests.test_download::TestDownloadUpdate::test_download_http_error",
"tests.test_download::TestDownloadUpdate::test_download_without_progress_callback",
"tests.test_download::TestDownloadUpdate::test_download_empty_file",
"tests.test_download::TestDownloadUpdate::test_download_creates_file_in_binary_mode",
"tests.test_extract::TestExtractUpdate::test_extract_simple_zip",
"tests.test_extract::TestExtractUpdate::test_extract_preserves_content",
"tests.test_extract::TestExtractUpdate::test_extract_password_protected_zip",
"tests.test_extract::TestExtractUpdate::test_extract_to_nonexistent_directory",
"tests.test_extract::TestExtractUpdate::test_extract_returns_destination_path",
"tests.test_extract::TestExtractUpdate::test_extract_multiple_files",
"tests.test_extract::TestExtractUpdate::test_extract_binary_files",
"tests.test_extract::TestExtractUpdate::test_extract_empty_zip",
"tests.test_extract::TestExtractUpdate::test_extract_invalid_zip_raises_error",
"tests.test_perform_update::TestPerformUpdate::test_successful_update_flow_windows",
"tests.test_perform_update::TestPerformUpdate::test_no_update_available_same_version",
"tests.test_perform_update::TestPerformUpdate::test_no_update_for_current_platform",
"tests.test_perform_update::TestPerformUpdate::test_user_cancels_update",
"tests.test_perform_update::TestPerformUpdate::test_no_update_check_response",
"tests.test_perform_update::TestPerformUpdate::test_successful_update_flow_linux",
"tests.test_perform_update::TestPerformUpdate::test_update_with_password_protected_zip",
"tests.test_perform_update::TestPerformUpdate::test_version_comparison_uses_release_order",
"tests.test_platform::TestPlatformSpecificBootstrapSelection::test_bootstrap_selection_by_platform",
"tests.test_platform::TestPlatformSpecificPathHandling::test_macos_uses_resources_directory",
"tests.test_platform::TestPlatformSpecificPathHandling::test_windows_uses_flat_structure",
"tests.test_platform::TestPlatformSpecificPathHandling::test_linux_uses_flat_structure",
"tests.test_platform::TestCrossPlatformUpdateFlow::test_bootstrap_file_exists_for_platform",
"tests.test_session::TestCreateRequestsSession::test_creates_session_without_app_info",
"tests.test_session::TestCreateRequestsSession::test_creates_session_with_app_name_only",
"tests.test_session::TestCreateRequestsSession::test_creates_session_with_app_name_and_version",
"tests.test_session::TestCreateRequestsSession::test_session_with_version_only",
"tests.test_session::TestCreateRequestsSession::test_user_agent_format",
"tests.test_session::TestCreateRequestsSession::test_session_is_independent",
"tests.test_update_check::TestFindUpdate::test_successful_update_check",
"tests.test_update_check::TestFindUpdate::test_update_check_with_custom_user_agent",
"tests.test_update_check::TestFindUpdate::test_update_check_http_error",
"tests.test_update_check::TestFindUpdate::test_update_check_server_error",
"tests.test_update_check::TestFindUpdate::test_update_check_returns_empty_response",
"tests.test_update_check::TestFindUpdate::test_update_check_minimal_response",
"tests.test_update_check::TestFindUpdate::test_update_check_with_description",
"tests.test_update_check::TestFindUpdate::test_multiple_update_checks"
],
"expected_test_count": 70,
"measured_test_count": 70,
"enumerated_test_count": 65,
"test_count_source": "measured-suite",
"python_install_contract": {
"strategy": "editable-install",
"project_root": ".",
"package_roots": [
"."
],
"build_backend": "hatchling.build",
"build_system_requires": [
"hatchling"
],
"editable": true,
"project_dependencies": [
"packaging",
"requests",
"platform_utils"
],
"editable_requires": [
"editables"
],
"runtime_strategy": "editable-install",
"runtime_build_inputs": [],
"build_context_inputs": [],
"distribution_name": "autoupdate",
"evidence": [
"./pyproject.toml"
],
"errors": [],
"isolate_build_backend": false,
"schema_version": "programgen.python-install-contract.v7"
},
"test_binary_files": [],
"artifact_contract_version": "programgen.forward-harbor.v6",
"renderer_schema_version": "programgen.forward-renderer.v4",
"test_import_contract": [
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "io",
"definition_path": null,
"required_import_path": "io",
"import_statement": "import io",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "logging",
"definition_path": null,
"required_import_path": "logging",
"import_statement": "import logging",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "os",
"definition_path": null,
"required_import_path": "os",
"import_statement": "import os",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "tempfile",
"definition_path": null,
"required_import_path": "tempfile",
"import_statement": "import tempfile",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock.Mock",
"import_statement": "from unittest.mock import Mock",
"symbol": "Mock",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "zipfile",
"definition_path": null,
"required_import_path": "zipfile",
"import_statement": "import zipfile",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.bootstrap_name",
"required_import_path": "autoupdate.autoupdate.bootstrap_name",
"import_statement": "from autoupdate.autoupdate import bootstrap_name, execute_bootstrap, make_executable, move_bootstrap",
"symbol": "bootstrap_name",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.execute_bootstrap",
"required_import_path": "autoupdate.autoupdate.execute_bootstrap",
"import_statement": "from autoupdate.autoupdate import bootstrap_name, execute_bootstrap, make_executable, move_bootstrap",
"symbol": "execute_bootstrap",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.make_executable",
"required_import_path": "autoupdate.autoupdate.make_executable",
"import_statement": "from autoupdate.autoupdate import bootstrap_name, execute_bootstrap, make_executable, move_bootstrap",
"symbol": "make_executable",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.move_bootstrap",
"required_import_path": "autoupdate.autoupdate.move_bootstrap",
"import_statement": "from autoupdate.autoupdate import bootstrap_name, execute_bootstrap, make_executable, move_bootstrap",
"symbol": "move_bootstrap",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": null,
"import_root": "os",
"definition_path": null,
"required_import_path": "os",
"import_statement": "import os",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": null,
"import_root": "platform",
"definition_path": null,
"required_import_path": "platform",
"import_statement": "import platform",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": null,
"import_root": "stat",
"definition_path": null,
"required_import_path": "stat",
"import_statement": "import stat",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock.MagicMock",
"import_statement": "from unittest.mock import MagicMock, Mock, patch",
"symbol": "MagicMock",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock.Mock",
"import_statement": "from unittest.mock import MagicMock, Mock, patch",
"symbol": "Mock",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_bootstrap.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock.patch",
"import_statement": "from unittest.mock import MagicMock, Mock, patch",
"symbol": "patch",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_callbacks.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.call_callback",
"required_import_path": "autoupdate.autoupdate.call_callback",
"import_statement": "from autoupdate.autoupdate import call_callback",
"symbol": "call_callback",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_callbacks.py",
"source_file": null,
"import_root": "logging",
"definition_path": null,
"required_import_path": "logging",
"import_statement": "import logging",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_callbacks.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_callbacks.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock.Mock",
"import_statement": "from unittest.mock import Mock",
"symbol": "Mock",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_download.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.create_requests_session",
"required_import_path": "autoupdate.autoupdate.create_requests_session",
"import_statement": "from autoupdate.autoupdate import create_requests_session, download_update",
"symbol": "create_requests_session",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_download.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.download_update",
"required_import_path": "autoupdate.autoupdate.download_update",
"import_statement": "from autoupdate.autoupdate import create_requests_session, download_update",
"symbol": "download_update",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_download.py",
"source_file": null,
"import_root": "io",
"definition_path": null,
"required_import_path": "io",
"import_statement": "import io",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_download.py",
"source_file": null,
"import_root": "os",
"definition_path": null,
"required_import_path": "os",
"import_statement": "import os",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_download.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_download.py",
"source_file": null,
"import_root": "requests",
"definition_path": null,
"required_import_path": "requests.HTTPError",
"import_statement": "from requests import HTTPError",
"symbol": "HTTPError",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_download.py",
"source_file": null,
"import_root": "responses",
"definition_path": null,
"required_import_path": "responses",
"import_statement": "import responses",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_download.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock.Mock",
"import_statement": "from unittest.mock import Mock",
"symbol": "Mock",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_extract.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.extract_update",
"required_import_path": "autoupdate.autoupdate.extract_update",
"import_statement": "from autoupdate.autoupdate import extract_update",
"symbol": "extract_update",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_extract.py",
"source_file": null,
"import_root": "os",
"definition_path": null,
"required_import_path": "os",
"import_statement": "import os",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_extract.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_extract.py",
"source_file": null,
"import_root": "zipfile",
"definition_path": null,
"required_import_path": "zipfile",
"import_statement": "import zipfile",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_perform_update.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.perform_update",
"required_import_path": "autoupdate.autoupdate.perform_update",
"import_statement": "from autoupdate.autoupdate import perform_update",
"symbol": "perform_update",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_perform_update.py",
"source_file": null,
"import_root": "io",
"definition_path": null,
"required_import_path": "io",
"import_statement": "import io",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_perform_update.py",
"source_file": null,
"import_root": "os",
"definition_path": null,
"required_import_path": "os",
"import_statement": "import os",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_perform_update.py",
"source_file": null,
"import_root": "platform",
"definition_path": null,
"required_import_path": "platform",
"import_statement": "import platform",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_perform_update.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_perform_update.py",
"source_file": null,
"import_root": "responses",
"definition_path": null,
"required_import_path": "responses",
"import_statement": "import responses",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_perform_update.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock.Mock",
"import_statement": "from unittest.mock import Mock, patch",
"symbol": "Mock",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_perform_update.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock.patch",
"import_statement": "from unittest.mock import Mock, patch",
"symbol": "patch",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_perform_update.py",
"source_file": null,
"import_root": "zipfile",
"definition_path": null,
"required_import_path": "zipfile",
"import_statement": "import zipfile",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_platform.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.bootstrap_name",
"required_import_path": "autoupdate.autoupdate.bootstrap_name",
"import_statement": "from autoupdate.autoupdate import bootstrap_name, move_bootstrap",
"symbol": "bootstrap_name",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_platform.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.move_bootstrap",
"required_import_path": "autoupdate.autoupdate.move_bootstrap",
"import_statement": "from autoupdate.autoupdate import bootstrap_name, move_bootstrap",
"symbol": "move_bootstrap",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_platform.py",
"source_file": null,
"import_root": "os",
"definition_path": null,
"required_import_path": "os",
"import_statement": "import os",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_platform.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_platform.py",
"source_file": null,
"import_root": "unittest",
"definition_path": null,
"required_import_path": "unittest.mock.patch",
"import_statement": "from unittest.mock import patch",
"symbol": "patch",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_session.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.create_requests_session",
"required_import_path": "autoupdate.autoupdate.create_requests_session",
"import_statement": "from autoupdate.autoupdate import create_requests_session",
"symbol": "create_requests_session",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_session.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_session.py",
"source_file": null,
"import_root": "requests",
"definition_path": null,
"required_import_path": "requests",
"import_statement": "import requests",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_update_check.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.create_requests_session",
"required_import_path": "autoupdate.autoupdate.create_requests_session",
"import_statement": "from autoupdate.autoupdate import create_requests_session, find_update",
"symbol": "create_requests_session",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_update_check.py",
"source_file": "autoupdate/autoupdate.py",
"import_root": "autoupdate",
"definition_path": "autoupdate.autoupdate.find_update",
"required_import_path": "autoupdate.autoupdate.find_update",
"import_statement": "from autoupdate.autoupdate import create_requests_session, find_update",
"symbol": "find_update",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_update_check.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_update_check.py",
"source_file": null,
"import_root": "requests",
"definition_path": null,
"required_import_path": "requests.HTTPError",
"import_statement": "from requests import HTTPError",
"symbol": "HTTPError",
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_update_check.py",
"source_file": null,
"import_root": "responses",
"definition_path": null,
"required_import_path": "responses",
"import_statement": "import responses",
"symbol": null,
"kind": "external",
"classification": "external"
}
],
"test_import_contract_digest": "9331f983faafef0e099e109c450c20410cc0af336d4e45c457134d8744cb8cdb"
}