Conghao97's picture tcftrees's picture
ProgramGen release
d086025
Raw History Blame Contribute Delete
10.3 kB
{
"passed_ptp": [
"tests.test_callbacks_registry::test_callback_registry_simple",
"tests.test_callbacks_registry::test_callback_registry_multiple",
"tests.test_callbacks_registry::test_callback_registry_coro_without_loop",
"tests.test_callbacks_registry::test_callback_registry_callbacks",
"tests.test_callbacks_registry::test_callback_registry_exists",
"tests.test_callbacks_registry::test_callback_registry_callbacks_default",
"tests.test_callbacks_registry::test_callback_registry_default",
"tests.test_callbacks_registry::test_callback_registry_deregister_non_existing",
"tests.test_commons::test_handle_signals",
"tests.test_commons::test_cancel_tasks_on_termination_default",
"tests.test_commons::test_cancel_tasks_on_termination_int",
"tests.test_commons::test_cancel_tasks_on_termination_str",
"tests.test_commons::test_cancel_tasks_on_termination_invalid_type",
"tests.test_commons::test_cancel_tasks_on_termination_invalid_int",
"tests.test_commons::test_cancel_tasks_on_termination_invalid_str"
],
"test_files": [
"tests/test_callbacks.py",
"tests/test_callbacks_registry.py",
"tests/test_commons.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=",
"tests/test_callbacks.py",
"tests/test_callbacks_registry.py",
"tests/test_commons.py"
],
"test_payload_contract": {
"schema_version": "programgen.test-payload-contract.v1",
"test_files": [
"tests/test_callbacks.py",
"tests/test_callbacks_registry.py",
"tests/test_commons.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=",
"tests/test_callbacks.py",
"tests/test_callbacks_registry.py",
"tests/test_commons.py"
],
"text_fixtures": [],
"binary_fixtures": [],
"nonportable_absolute_paths": [],
"required_external_commands": [],
"declared_console_scripts": [],
"unresolved_external_commands": []
},
"unit_test": [
"tests.test_callbacks_registry::test_callback_registry_simple",
"tests.test_callbacks_registry::test_callback_registry_multiple",
"tests.test_callbacks_registry::test_callback_registry_coro_without_loop",
"tests.test_callbacks_registry::test_callback_registry_callbacks",
"tests.test_callbacks_registry::test_callback_registry_exists",
"tests.test_callbacks_registry::test_callback_registry_callbacks_default",
"tests.test_callbacks_registry::test_callback_registry_default",
"tests.test_callbacks_registry::test_callback_registry_deregister_non_existing",
"tests.test_commons::test_handle_signals",
"tests.test_commons::test_cancel_tasks_on_termination_default",
"tests.test_commons::test_cancel_tasks_on_termination_int",
"tests.test_commons::test_cancel_tasks_on_termination_str",
"tests.test_commons::test_cancel_tasks_on_termination_invalid_type",
"tests.test_commons::test_cancel_tasks_on_termination_invalid_int",
"tests.test_commons::test_cancel_tasks_on_termination_invalid_str"
],
"expected_test_count": 21,
"measured_test_count": 21,
"enumerated_test_count": 15,
"test_count_source": "measured-suite",
"python_install_contract": {
"strategy": "editable-install",
"project_root": ".",
"package_roots": [
"src"
],
"build_backend": "poetry.core.masonry.api",
"build_system_requires": [
"poetry-core"
],
"editable": true,
"project_dependencies": [],
"editable_requires": [],
"runtime_strategy": "editable-install",
"runtime_build_inputs": [
"README.md"
],
"build_context_inputs": [],
"distribution_name": "cafeteria-asyncio",
"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/test_callbacks.py",
"source_file": null,
"import_root": "asyncio",
"definition_path": null,
"required_import_path": "asyncio",
"import_statement": "import asyncio",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_callbacks.py",
"source_file": "src/cafeteria/asyncio/callbacks.py",
"import_root": "cafeteria",
"definition_path": "cafeteria.asyncio.callbacks.Callback",
"required_import_path": "cafeteria.asyncio.callbacks.Callback",
"import_statement": "from cafeteria.asyncio.callbacks import ( Callback, SimpleTriggerCallback, trigger_callback, )",
"symbol": "Callback",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_callbacks.py",
"source_file": "src/cafeteria/asyncio/callbacks.py",
"import_root": "cafeteria",
"definition_path": "cafeteria.asyncio.callbacks.SimpleTriggerCallback",
"required_import_path": "cafeteria.asyncio.callbacks.SimpleTriggerCallback",
"import_statement": "from cafeteria.asyncio.callbacks import ( Callback, SimpleTriggerCallback, trigger_callback, )",
"symbol": "SimpleTriggerCallback",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_callbacks.py",
"source_file": "src/cafeteria/asyncio/callbacks.py",
"import_root": "cafeteria",
"definition_path": "cafeteria.asyncio.callbacks.trigger_callback",
"required_import_path": "cafeteria.asyncio.callbacks.trigger_callback",
"import_statement": "from cafeteria.asyncio.callbacks import ( Callback, SimpleTriggerCallback, trigger_callback, )",
"symbol": "trigger_callback",
"kind": "function",
"classification": "local-resolved"
},
{
"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_registry.py",
"source_file": "src/cafeteria/asyncio/callbacks.py",
"import_root": "cafeteria",
"definition_path": "cafeteria.asyncio.callbacks.Callback",
"required_import_path": "cafeteria.asyncio.callbacks.Callback",
"import_statement": "from cafeteria.asyncio.callbacks import Callback, CallbackRegistry",
"symbol": "Callback",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_callbacks_registry.py",
"source_file": "src/cafeteria/asyncio/callbacks.py",
"import_root": "cafeteria",
"definition_path": "cafeteria.asyncio.callbacks.CallbackRegistry",
"required_import_path": "cafeteria.asyncio.callbacks.CallbackRegistry",
"import_statement": "from cafeteria.asyncio.callbacks import Callback, CallbackRegistry",
"symbol": "CallbackRegistry",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_callbacks_registry.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_commons.py",
"source_file": null,
"import_root": "asyncio",
"definition_path": null,
"required_import_path": "asyncio",
"import_statement": "import asyncio",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_commons.py",
"source_file": "src/cafeteria/asyncio/commons.py",
"import_root": "cafeteria",
"definition_path": "cafeteria.asyncio.commons.cancel_all_tasks",
"required_import_path": "cafeteria.asyncio.commons.cancel_all_tasks",
"import_statement": "from cafeteria.asyncio.commons import cancel_all_tasks, cancel_tasks_on_termination",
"symbol": "cancel_all_tasks",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_commons.py",
"source_file": "src/cafeteria/asyncio/commons.py",
"import_root": "cafeteria",
"definition_path": "cafeteria.asyncio.commons.cancel_tasks_on_termination",
"required_import_path": "cafeteria.asyncio.commons.cancel_tasks_on_termination",
"import_statement": "from cafeteria.asyncio.commons import cancel_all_tasks, cancel_tasks_on_termination",
"symbol": "cancel_tasks_on_termination",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_commons.py",
"source_file": "src/cafeteria/asyncio/commons.py",
"import_root": "cafeteria",
"definition_path": "cafeteria.asyncio.commons.handle_signals",
"required_import_path": "cafeteria.asyncio.commons.handle_signals",
"import_statement": "from cafeteria.asyncio.commons import handle_signals",
"symbol": "handle_signals",
"kind": "function",
"classification": "local-resolved"
},
{
"test_file": "tests/test_commons.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_commons.py",
"source_file": null,
"import_root": "signal",
"definition_path": null,
"required_import_path": "signal",
"import_statement": "import signal",
"symbol": null,
"kind": "external",
"classification": "external"
}
],
"test_import_contract_digest": "5c95b808d84c8df6654f5572f4e4b401ae01dacfecc60bb538697b7a1cbaa158"
}