MCPcopy Create free account
hub / github.com/python-hyper/uritemplate / load_examples

Function load_examples

tests/test_from_fixtures.py:26–30  ·  view source on GitHub ↗
(filename: str)

Source from the content-addressed store, hash-verified

24
25
26def load_examples(filename: str) -> Examples:
27 path = fixture_file_path(filename)
28 with open(path, encoding="utf-8") as examples_file:
29 examples = t.cast(Examples, json.load(examples_file))
30 return examples
31
32
33def expected_set(expected: t.Union[t.List[str], str]) -> t.Set[str]:

Callers 3

TestSpecExamplesClass · 0.85
TestExtendedTestsClass · 0.85

Calls 1

fixture_file_pathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…