Lines Matching full:path
10 from pathlib import Path
34 p_root = Path(__file__).absolute().parents[2]
35 p_tests = Path(p_root, 'tests')
36 p_cases = Path(p_tests, 'cases')
37 p_manifest12 = Path(p_cases, 'manifest12.cddl')
38 p_manifest14 = Path(p_cases, 'manifest14.cddl')
39 p_manifest16 = Path(p_cases, 'manifest16.cddl')
40 p_manifest20 = Path(p_cases, 'manifest20.cddl')
41 p_test_vectors12 = tuple(Path(p_cases, f'manifest12_example{i}.cborhex') for i in range(6))
42 p_test_vectors14 = tuple(Path(p_cases, f'manifest14_example{i}.cborhex') for i in range(6))
43 p_test_vectors16 = tuple(Path(p_cases, f'manifest14_example{i}.cborhex') for i in range(6)) # Iden…
44 p_test_vectors20 = tuple(Path(p_cases, f'manifest20_example{i}.cborhex') for i in range(6))
45 p_optional = Path(p_cases, 'optional.cddl')
46 p_corner_cases = Path(p_cases, 'corner_cases.cddl')
47 p_cose = Path(p_cases, 'cose.cddl')
48 p_manifest14_priv = Path(p_cases, 'manifest14.priv')
49 p_manifest14_pub = Path(p_cases, 'manifest14.pub')
50 p_map_bstr_cddl = Path(p_cases, 'map_bstr.cddl')
51 p_map_bstr_yaml = Path(p_cases, 'map_bstr.yaml')
52 p_yaml_compat_cddl = Path(p_cases, 'yaml_compatibility.cddl')
53 p_yaml_compat_yaml = Path(p_cases, 'yaml_compatibility.yaml')
54 p_pet_cddl = Path(p_cases, 'pet.cddl')
55 p_README = Path(p_root, 'README.md')
56 p_prelude = Path(p_root, 'zcbor', 'prelude.cddl')
57 p_VERSION = Path(p_root, 'zcbor', 'VERSION')
67 cddl_str = " ".join((Path(p).read_text(encoding="utf-8") for p in cddl_paths))
138 "http://example.com/very/long/path/to/file/file.bin",
635 tempd = Path(mkdtemp())