{ "passed_ptp": [ "tests/test_context.py::test_load", "tests/test_context.py::test_load_missing_origin", "tests/test_context.py::test_manage", "tests/test_models.py::test_get_all_records", "tests/test_models.py::test_get_record", "tests/test_models.py::test_get_record_not_found", "tests/test_models.py::test_find_records_by_type", "tests/test_models.py::test_find_record_by_name", "tests/test_models.py::test_find_record_by_content", "tests/test_models.py::test_zone_records_property", "tests/test_models.py::test_zone_add_record", "tests/test_models.py::test_zone_add_record_unknown_type", "tests/test_models.py::test_zone_add_record_no_content", "tests/test_models.py::test_zone_remove_record", "tests/test_models.py::test_zone_remove_record_not_found", "tests/test_models.py::test_zone_update_record", "tests/test_models.py::test_zone_update_record_not_found", "tests/test_models.py::test_zone_save", "tests/test_util.py::test_checksum_16", "tests/test_util.py::test_checksum_32", "tests/test_util.py::test_checksum_64", "tests/test_util.py::test_checksum_invalid_size" ], "test_files": [ "tests/__init__.py", "tests/test_context.py", "tests/test_models.py", "tests/test_util.py" ], "test_command": [ "bash", "-lc", "set -uo pipefail\nrun=(python3 -m pytest -vv --continue-on-collection-errors -o addopts= tests/test_context.py tests/test_models.py tests/test_util.py)\nif [ -n \"${COVERAGE_FILE:-}\" ]; then run=(python3 -m coverage run --source=. -m pytest -vv --continue-on-collection-errors -o addopts= tests/test_context.py tests/test_models.py tests/test_util.py); fi\ncollect=(python3 -m pytest -q -o addopts= tests/test_context.py tests/test_models.py tests/test_util.py)\ncollected_output=$(\"${collect[@]}\" --collect-only)\ncollect_rc=$?\nif [ \"$collect_rc\" -ne 0 ] && [ \"$collect_rc\" -ne 5 ]; then\n printf \"%s\\n\" \"$collected_output\" >&2\n printf \"[programgen] test collection failed with exit code %s\\n\" \"$collect_rc\" >&2\n exit \"$collect_rc\"\nfi\nmapfile -t collected < <(printf \"%s\\n\" \"$collected_output\" | sed -n '/::/p' | sed 's/[[:space:]]*$//')\nif [ \"${#collected[@]}\" -gt 500 ]; then\n while IFS= read -r id; do run+=(\"--deselect=$id\"); done < <(printf \"%s\\n\" \"${collected[@]}\" | awk -F'::' -v limit=500 '{f=$1; n[f]++; idx[f,n[f]]=NR; all[NR]=$0; if(!(f in seen)){seen[f]=1; order[++m]=f}} END{d=1; c=0; while(c=limit) break}} if(!a) break; d++} for(r=1;r<=NR;r++) if(!(r in keep)) print all[r]}')\nfi\n\"${run[@]}\"; exit $?" ], "test_payload_contract": { "schema_version": "programgen.test-payload-contract.v1", "test_files": [ "tests/__init__.py", "tests/test_context.py", "tests/test_models.py", "tests/test_util.py" ], "test_command": [ "bash", "-lc", "set -uo pipefail\nrun=(python3 -m pytest -vv --continue-on-collection-errors -o addopts= tests/test_context.py tests/test_models.py tests/test_util.py)\nif [ -n \"${COVERAGE_FILE:-}\" ]; then run=(python3 -m coverage run --source=. -m pytest -vv --continue-on-collection-errors -o addopts= tests/test_context.py tests/test_models.py tests/test_util.py); fi\ncollect=(python3 -m pytest -q -o addopts= tests/test_context.py tests/test_models.py tests/test_util.py)\ncollected_output=$(\"${collect[@]}\" --collect-only)\ncollect_rc=$?\nif [ \"$collect_rc\" -ne 0 ] && [ \"$collect_rc\" -ne 5 ]; then\n printf \"%s\\n\" \"$collected_output\" >&2\n printf \"[programgen] test collection failed with exit code %s\\n\" \"$collect_rc\" >&2\n exit \"$collect_rc\"\nfi\nmapfile -t collected < <(printf \"%s\\n\" \"$collected_output\" | sed -n '/::/p' | sed 's/[[:space:]]*$//')\nif [ \"${#collected[@]}\" -gt 500 ]; then\n while IFS= read -r id; do run+=(\"--deselect=$id\"); done < <(printf \"%s\\n\" \"${collected[@]}\" | awk -F'::' -v limit=500 '{f=$1; n[f]++; idx[f,n[f]]=NR; all[NR]=$0; if(!(f in seen)){seen[f]=1; order[++m]=f}} END{d=1; c=0; while(c=limit) break}} if(!a) break; d++} for(r=1;r<=NR;r++) if(!(r in keep)) print all[r]}')\nfi\n\"${run[@]}\"; exit $?" ], "text_fixtures": [ "tests/zonefiles/db.example.com", "tests/zonefiles/db.no-origin.com" ], "binary_fixtures": [], "nonportable_absolute_paths": [], "required_external_commands": [], "declared_console_scripts": [], "unresolved_external_commands": [] }, "unit_test": [ "tests.test_context::test_load", "tests.test_context::test_load_missing_origin", "tests.test_context::test_manage", "tests.test_models::test_get_all_records", "tests.test_models::test_get_record", "tests.test_models::test_get_record_not_found", "tests.test_models::test_find_records_by_type", "tests.test_models::test_find_record_by_name", "tests.test_models::test_find_record_by_content", "tests.test_models::test_zone_records_property", "tests.test_models::test_zone_add_record", "tests.test_models::test_zone_add_record_unknown_type", "tests.test_models::test_zone_add_record_no_content", "tests.test_models::test_zone_remove_record", "tests.test_models::test_zone_remove_record_not_found", "tests.test_models::test_zone_update_record", "tests.test_models::test_zone_update_record_not_found", "tests.test_models::test_zone_save", "tests.test_util::test_checksum_16", "tests.test_util::test_checksum_32", "tests.test_util::test_checksum_64", "tests.test_util::test_checksum_invalid_size" ], "expected_test_count": 22, "measured_test_count": 22, "enumerated_test_count": 22, "test_count_source": "measured-suite", "python_install_contract": { "strategy": "editable-install", "project_root": ".", "package_roots": [ "." ], "build_backend": "setuptools.build_meta:__legacy__", "build_system_requires": [ "setuptools>=61,<82", "wheel" ], "editable": true, "project_dependencies": [], "editable_requires": [], "runtime_strategy": "editable-install", "runtime_build_inputs": [], "build_context_inputs": [], "distribution_name": null, "evidence": [ "./setup.py" ], "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_context.py", "source_file": null, "import_root": "dns", "definition_path": null, "required_import_path": "dns.zone.UnknownOrigin", "import_statement": "from dns.zone import UnknownOrigin", "symbol": "UnknownOrigin", "kind": "external", "classification": "external" }, { "test_file": "tests/test_context.py", "source_file": null, "import_root": "dns", "definition_path": null, "required_import_path": "dns.zonefile.UnknownOrigin", "import_statement": "from dns.zonefile import UnknownOrigin", "symbol": "UnknownOrigin", "kind": "external", "classification": "external" }, { "test_file": "tests/test_context.py", "source_file": "localzone/__init__.py", "import_root": "localzone", "definition_path": "localzone", "required_import_path": "localzone", "import_statement": "import localzone", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "tests/test_context.py", "source_file": "localzone/context.py", "import_root": "localzone", "definition_path": "localzone.context.load", "required_import_path": "localzone.load", "import_statement": "import localzone", "symbol": "load", "kind": "function", "classification": "local-resolved" }, { "test_file": "tests/test_context.py", "source_file": "localzone/context.py", "import_root": "localzone", "definition_path": "localzone.context.manage", "required_import_path": "localzone.manage", "import_statement": "import localzone", "symbol": "manage", "kind": "function", "classification": "local-resolved" }, { "test_file": "tests/test_context.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_models.py", "source_file": null, "import_root": "dns", "definition_path": null, "required_import_path": "dns.exception.SyntaxError", "import_statement": "from dns.exception import SyntaxError as DNSSyntaxError", "symbol": "SyntaxError", "kind": "external", "classification": "external" }, { "test_file": "tests/test_models.py", "source_file": null, "import_root": "dns", "definition_path": null, "required_import_path": "dns.rdatatype.UnknownRdatatype", "import_statement": "from dns.rdatatype import UnknownRdatatype", "symbol": "UnknownRdatatype", "kind": "external", "classification": "external" }, { "test_file": "tests/test_models.py", "source_file": "localzone/__init__.py", "import_root": "localzone", "definition_path": "localzone", "required_import_path": "localzone", "import_statement": "import localzone", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "tests/test_models.py", "source_file": "localzone/context.py", "import_root": "localzone", "definition_path": "localzone.context.load", "required_import_path": "localzone.load", "import_statement": "import localzone", "symbol": "load", "kind": "function", "classification": "local-resolved" }, { "test_file": "tests/test_models.py", "source_file": "localzone/context.py", "import_root": "localzone", "definition_path": "localzone.context.manage", "required_import_path": "localzone.manage", "import_statement": "import localzone", "symbol": "manage", "kind": "function", "classification": "local-resolved" }, { "test_file": "tests/test_models.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_util.py", "source_file": "localzone/util.py", "import_root": "localzone", "definition_path": "localzone.util.checksum", "required_import_path": "localzone.util.checksum", "import_statement": "from localzone.util import checksum", "symbol": "checksum", "kind": "function", "classification": "local-resolved" }, { "test_file": "tests/test_util.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_import_contract_digest": "ed5879f68414423452fddc66c7fbb9e12bc276b840155382af3fbfe8a80a258c" }