Download tasks/data/forward/adamchainz__apig-wsgi.bfae4e6/tests/tests.json from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 17.2 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/adamchainz__apig-wsgi.bfae4e6/tests/tests.json
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/forward/adamchainz__apig-wsgi.bfae4e6/tests/tests.json
-
curl -L -o tests.json https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/forward/adamchainz__apig-wsgi.bfae4e6/tests/tests.json
17.2 kB
| { | |
| "passed_ptp": [ | |
| "tests.test_apig_wsgi::TestV1Events::test_get", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_missing_content_type", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_single_header", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_default_text_content_types", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_default_text_content_types_encoded", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_custom_text_content_types", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_binary", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_alb_default", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_alb_enabled", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_binary_default_text_with_gzip_content_encoding", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_binary_custom_text_with_gzip_content_encoding", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_no_content_type", | |
| "tests.test_apig_wsgi::TestV1Events::test_post", | |
| "tests.test_apig_wsgi::TestV1Events::test_post_binary_support", | |
| "tests.test_apig_wsgi::TestV1Events::test_path_unquoting", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_none", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_none_single", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_empty", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_empty_single", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_one", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_one_single", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_encoding_plus_value", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_encoding_plus_key", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_multi", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_multi_encoding_plus_value", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_multi_encoding_plus_key", | |
| "tests.test_apig_wsgi::TestV1Events::test_plain_header", | |
| "tests.test_apig_wsgi::TestV1Events::test_plain_header_single", | |
| "tests.test_apig_wsgi::TestV1Events::test_plain_header_multi", | |
| "tests.test_apig_wsgi::TestV1Events::test_special_headers", | |
| "tests.test_apig_wsgi::TestV1Events::test_special_content_type", | |
| "tests.test_apig_wsgi::TestV1Events::test_special_host", | |
| "tests.test_apig_wsgi::TestV1Events::test_special_x_forwarded_for", | |
| "tests.test_apig_wsgi::TestV1Events::test_x_forwarded_proto", | |
| "tests.test_apig_wsgi::TestV1Events::test_x_forwarded_port", | |
| "tests.test_apig_wsgi::TestV1Events::test_no_headers", | |
| "tests.test_apig_wsgi::TestV1Events::test_headers_None", | |
| "tests.test_apig_wsgi::TestV1Events::test_exc_info", | |
| "tests.test_apig_wsgi::TestV1Events::test_request_context", | |
| "tests.test_apig_wsgi::TestV1Events::test_request_context_none", | |
| "tests.test_apig_wsgi::TestV1Events::test_full_event", | |
| "tests.test_apig_wsgi::TestV1Events::test_elb_health_check", | |
| "tests.test_apig_wsgi::TestV1Events::test_context", | |
| "tests.test_apig_wsgi::TestV1Events::test_empty_and_uncloseable_content", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_encoding_plus_value", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_encoding_plus_key", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_multi", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_multi_encoding_plus_value", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_multi_encoding_plus_key", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_contains_encoded_value", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_multi_contains_encoded_value", | |
| "tests.test_apig_wsgi::TestV2Events::test_get", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_missing_content_type", | |
| "tests.test_apig_wsgi::TestV2Events::test_cookie", | |
| "tests.test_apig_wsgi::TestV2Events::test_two_cookies", | |
| "tests.test_apig_wsgi::TestV2Events::test_mixed_cookies", | |
| "tests.test_apig_wsgi::TestV2Events::test_set_one_cookie", | |
| "tests.test_apig_wsgi::TestV2Events::test_set_two_cookies", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_default_text_content_types", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_default_text_content_types_encoded", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_custom_text_content_types", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_binary", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_binary_default_text_with_gzip_content_encoding", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_binary_custom_text_with_gzip_content_encoding", | |
| "tests.test_apig_wsgi::TestV2Events::test_plain_header", | |
| "tests.test_apig_wsgi::TestV2Events::test_special_headers", | |
| "tests.test_apig_wsgi::TestV2Events::test_post", | |
| "tests.test_apig_wsgi::TestV2Events::test_post_binary_support", | |
| "tests.test_apig_wsgi::TestV2Events::test_path_unquoting", | |
| "tests.test_apig_wsgi::TestV2Events::test_empty_and_uncloseable_content", | |
| "tests.test_apig_wsgi::TestUnknownVersionEvents::test_errors" | |
| ], | |
| "test_files": [ | |
| "example/app/testapp/tests.py", | |
| "tests/__init__.py", | |
| "tests/test_apig_wsgi.py" | |
| ], | |
| "test_command": [ | |
| "python3", | |
| "-m", | |
| "pytest", | |
| "-vv", | |
| "--continue-on-collection-errors", | |
| "-o", | |
| "addopts=", | |
| "tests/test_apig_wsgi.py" | |
| ], | |
| "test_payload_contract": { | |
| "schema_version": "programgen.test-payload-contract.v1", | |
| "test_files": [ | |
| "example/app/testapp/tests.py", | |
| "tests/__init__.py", | |
| "tests/test_apig_wsgi.py" | |
| ], | |
| "test_command": [ | |
| "python3", | |
| "-m", | |
| "pytest", | |
| "-vv", | |
| "--continue-on-collection-errors", | |
| "-o", | |
| "addopts=", | |
| "tests/test_apig_wsgi.py" | |
| ], | |
| "text_fixtures": [], | |
| "binary_fixtures": [], | |
| "nonportable_absolute_paths": [], | |
| "required_external_commands": [], | |
| "declared_console_scripts": [], | |
| "unresolved_external_commands": [] | |
| }, | |
| "unit_test": [ | |
| "tests.test_apig_wsgi::TestV1Events::test_get", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_missing_content_type", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_single_header", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_default_text_content_types", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_default_text_content_types_encoded", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_custom_text_content_types", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_binary", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_alb_default", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_alb_enabled", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_binary_default_text_with_gzip_content_encoding", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_binary_custom_text_with_gzip_content_encoding", | |
| "tests.test_apig_wsgi::TestV1Events::test_get_binary_support_no_content_type", | |
| "tests.test_apig_wsgi::TestV1Events::test_post", | |
| "tests.test_apig_wsgi::TestV1Events::test_post_binary_support", | |
| "tests.test_apig_wsgi::TestV1Events::test_path_unquoting", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_none", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_none_single", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_empty", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_empty_single", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_one", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_one_single", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_encoding_plus_value", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_encoding_plus_key", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_multi", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_multi_encoding_plus_value", | |
| "tests.test_apig_wsgi::TestV1Events::test_querystring_multi_encoding_plus_key", | |
| "tests.test_apig_wsgi::TestV1Events::test_plain_header", | |
| "tests.test_apig_wsgi::TestV1Events::test_plain_header_single", | |
| "tests.test_apig_wsgi::TestV1Events::test_plain_header_multi", | |
| "tests.test_apig_wsgi::TestV1Events::test_special_headers", | |
| "tests.test_apig_wsgi::TestV1Events::test_special_content_type", | |
| "tests.test_apig_wsgi::TestV1Events::test_special_host", | |
| "tests.test_apig_wsgi::TestV1Events::test_special_x_forwarded_for", | |
| "tests.test_apig_wsgi::TestV1Events::test_x_forwarded_proto", | |
| "tests.test_apig_wsgi::TestV1Events::test_x_forwarded_port", | |
| "tests.test_apig_wsgi::TestV1Events::test_no_headers", | |
| "tests.test_apig_wsgi::TestV1Events::test_headers_None", | |
| "tests.test_apig_wsgi::TestV1Events::test_exc_info", | |
| "tests.test_apig_wsgi::TestV1Events::test_request_context", | |
| "tests.test_apig_wsgi::TestV1Events::test_request_context_none", | |
| "tests.test_apig_wsgi::TestV1Events::test_full_event", | |
| "tests.test_apig_wsgi::TestV1Events::test_elb_health_check", | |
| "tests.test_apig_wsgi::TestV1Events::test_context", | |
| "tests.test_apig_wsgi::TestV1Events::test_empty_and_uncloseable_content", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_encoding_plus_value", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_encoding_plus_key", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_multi", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_multi_encoding_plus_value", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_multi_encoding_plus_key", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_contains_encoded_value", | |
| "tests.test_apig_wsgi::TestAlbEvents::test_querystring_multi_contains_encoded_value", | |
| "tests.test_apig_wsgi::TestV2Events::test_get", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_missing_content_type", | |
| "tests.test_apig_wsgi::TestV2Events::test_cookie", | |
| "tests.test_apig_wsgi::TestV2Events::test_two_cookies", | |
| "tests.test_apig_wsgi::TestV2Events::test_mixed_cookies", | |
| "tests.test_apig_wsgi::TestV2Events::test_set_one_cookie", | |
| "tests.test_apig_wsgi::TestV2Events::test_set_two_cookies", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_default_text_content_types", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_default_text_content_types_encoded", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_custom_text_content_types", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_binary", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_binary_default_text_with_gzip_content_encoding", | |
| "tests.test_apig_wsgi::TestV2Events::test_get_binary_support_binary_custom_text_with_gzip_content_encoding", | |
| "tests.test_apig_wsgi::TestV2Events::test_plain_header", | |
| "tests.test_apig_wsgi::TestV2Events::test_special_headers", | |
| "tests.test_apig_wsgi::TestV2Events::test_post", | |
| "tests.test_apig_wsgi::TestV2Events::test_post_binary_support", | |
| "tests.test_apig_wsgi::TestV2Events::test_path_unquoting", | |
| "tests.test_apig_wsgi::TestV2Events::test_empty_and_uncloseable_content", | |
| "tests.test_apig_wsgi::TestUnknownVersionEvents::test_errors" | |
| ], | |
| "expected_test_count": 99, | |
| "measured_test_count": 99, | |
| "enumerated_test_count": 71, | |
| "test_count_source": "measured-suite", | |
| "python_install_contract": { | |
| "strategy": "editable-install", | |
| "project_root": ".", | |
| "package_roots": [ | |
| "src" | |
| ], | |
| "build_backend": "uv_build", | |
| "build_system_requires": [ | |
| "uv-build>=0.12.1,<0.13" | |
| ], | |
| "editable": true, | |
| "project_dependencies": [], | |
| "editable_requires": [], | |
| "runtime_strategy": "editable-install", | |
| "runtime_build_inputs": [ | |
| "README.rst" | |
| ], | |
| "build_context_inputs": [], | |
| "distribution_name": "apig-wsgi", | |
| "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": "example/app/testapp/tests.py", | |
| "source_file": null, | |
| "import_root": "__future__", | |
| "definition_path": null, | |
| "required_import_path": "__future__.annotations", | |
| "import_statement": "from __future__ import annotations", | |
| "symbol": "annotations", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "example/app/testapp/tests.py", | |
| "source_file": null, | |
| "import_root": "django", | |
| "definition_path": null, | |
| "required_import_path": "django.test.SimpleTestCase", | |
| "import_statement": "from django.test import SimpleTestCase", | |
| "symbol": "SimpleTestCase", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.py", | |
| "source_file": null, | |
| "import_root": "__future__", | |
| "definition_path": null, | |
| "required_import_path": "__future__.annotations", | |
| "import_statement": "from __future__ import annotations", | |
| "symbol": "annotations", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.py", | |
| "source_file": "src/apig_wsgi/__init__.py", | |
| "import_root": "apig_wsgi", | |
| "definition_path": "apig_wsgi._ExcInfoType", | |
| "required_import_path": "apig_wsgi._ExcInfoType", | |
| "import_statement": "from apig_wsgi import _ExcInfoType, make_lambda_handler", | |
| "symbol": "_ExcInfoType", | |
| "kind": "constant", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.py", | |
| "source_file": "src/apig_wsgi/__init__.py", | |
| "import_root": "apig_wsgi", | |
| "definition_path": "apig_wsgi.make_lambda_handler", | |
| "required_import_path": "apig_wsgi.make_lambda_handler", | |
| "import_statement": "from apig_wsgi import _ExcInfoType, make_lambda_handler", | |
| "symbol": "make_lambda_handler", | |
| "kind": "function", | |
| "classification": "local-resolved" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.py", | |
| "source_file": null, | |
| "import_root": "base64", | |
| "definition_path": null, | |
| "required_import_path": "base64.b64encode", | |
| "import_statement": "from base64 import b64encode", | |
| "symbol": "b64encode", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.py", | |
| "source_file": null, | |
| "import_root": "collections", | |
| "definition_path": null, | |
| "required_import_path": "collections.abc.Callable", | |
| "import_statement": "from collections.abc import Callable, Generator, Iterable", | |
| "symbol": "Callable", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.py", | |
| "source_file": null, | |
| "import_root": "collections", | |
| "definition_path": null, | |
| "required_import_path": "collections.abc.Generator", | |
| "import_statement": "from collections.abc import Callable, Generator, Iterable", | |
| "symbol": "Generator", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.py", | |
| "source_file": null, | |
| "import_root": "collections", | |
| "definition_path": null, | |
| "required_import_path": "collections.abc.Iterable", | |
| "import_statement": "from collections.abc import Callable, Generator, Iterable", | |
| "symbol": "Iterable", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.py", | |
| "source_file": null, | |
| "import_root": "io", | |
| "definition_path": null, | |
| "required_import_path": "io.BytesIO", | |
| "import_statement": "from io import BytesIO", | |
| "symbol": "BytesIO", | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.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_apig_wsgi.py", | |
| "source_file": null, | |
| "import_root": "sys", | |
| "definition_path": null, | |
| "required_import_path": "sys", | |
| "import_statement": "import sys", | |
| "symbol": null, | |
| "kind": "external", | |
| "classification": "external" | |
| }, | |
| { | |
| "test_file": "tests/test_apig_wsgi.py", | |
| "source_file": null, | |
| "import_root": "typing", | |
| "definition_path": null, | |
| "required_import_path": "typing.Any", | |
| "import_statement": "from typing import Any", | |
| "symbol": "Any", | |
| "kind": "external", | |
| "classification": "external" | |
| } | |
| ], | |
| "test_import_contract_digest": "faebb220f0a3c53ebcad0a4cd355bfcb2b911afb6dfcfdcaaf28805557fe5703" | |
| } |