FrameBridge 0.3.4 corresponding-source release

Snapshot assembled only from the signed corresponding-source archive.
Source archive SHA-256: db91a270cdefc4be79056ed38a0b4a16747e1ab130592645eac40fa3809809df
This commit is contained in:
FrameBridge release automation committed 2026-10-29 11:53:40 -04:00
1 parent b8c9b713d8
commit cdd980e1eb
993 files changed
+255481 -1720

No files matched your search

Whitespace-only changes.
@@ -0,0 +1,41 @@
from collections.abc import Mapping
from pathlib import Path
import pytest
from jsonschema_specifications import REGISTRY
def test_it_contains_metaschemas():
schema = REGISTRY.contents("http://json-schema.org/draft-07/schema#")
assert isinstance(schema, Mapping)
assert schema["$id"] == "http://json-schema.org/draft-07/schema#"
assert schema["title"] == "Core schema meta-schema"
def test_it_is_crawled():
assert REGISTRY.crawl() == REGISTRY
@pytest.mark.parametrize(
"ignored_relative_path",
["schemas/.DS_Store", "schemas/draft7/.DS_Store"],
)
def test_it_copes_with_dotfiles(ignored_relative_path):
"""
Ignore files like .DS_Store if someone has actually caused one to exist.
We test here through the private interface as of course the global has
already loaded our schemas.
"""
import jsonschema_specifications
package = Path(jsonschema_specifications.__file__).parent
ignored = package / ignored_relative_path
ignored.touch()
try:
list(jsonschema_specifications._schemas())
finally:
ignored.unlink()