Lines Matching refs:std
65 def std(mani=GOOD_MANI, mime=MIME, extra=()): function
71 build("good", std())
74 build("good-full", std(manifest(ROOT, CONTENT, entry("Object 1/", MIME, version="1.2"), entry("Obje…
79 build("mime-mismatch", std(mime="application/x-bogus"), [("shall", "mimetype-mismatch")])
80 build("mime-nonascii", std(mime=MIME + "é"), [("shall", "mimetype-ascii")])
81 build("mime-missing", std()[1:], [("should", "mimetype-missing"), ("shall", "mimetype-missing")])
82 build("mime-missing-noroot", std(manifest(CONTENT))[1:], [("should", "mimetype-missing")])
83 build("no-root-entry", std(manifest(CONTENT)), [("shall", "manifest-root-entry")])
84 build("uncovered", std(extra=[("extra.xml", "<e/>", Z)]), [("shall", "manifest-coverage")])
85 build("dup-entry", std(manifest(ROOT, CONTENT, CONTENT)), [("shall", "manifest-duplicate")])
86 build("self-entry", std(manifest(ROOT, CONTENT, entry("mimetype", "text/plain"))), [("shall", "mani…
87 build("dangling", std(manifest(ROOT, CONTENT, entry("gone.xml"))), [("should", "manifest-dangling")…
88 build("dir-entry-manifest", std(manifest(ROOT, CONTENT, entry("Configurations2/", "application/vnd.…
89 build("stray-meta-inf", std(extra=[("META-INF/foo.xml", "<f/>", Z)]), [("shall", "meta-inf-file")])
91 build("manifest-malformed", std("<manifest:manifest"), [("shall", "manifest-malformed")])
92 build("manifest-wrongroot", std(manifest(root="manifest:other")), [("shall", "manifest-root")])
93 build("zip-bzip2", std(extra=[("b.xml", "<b/>", zipfile.ZIP_BZIP2)], mani=manifest(ROOT, CONTENT, e…
94 build("zip-dup-name", std(extra=[("content.xml", "<d/>", Z)]), [("shall", "zip-duplicate")])
95 build("zip-dir-entry", std(extra=[("Pictures/", "", S)]), [("should", "zip-dir-entry")])
96 build("enc-nosize", std(manifest(ROOT, CONTENT, entry("secret.xml", inner=ENC)), extra=[("secret.xm…
97 build("enc-deflated", std(manifest(ROOT, CONTENT, entry("secret.xml", inner=ENC, size="10")), extra…
98 build("sig-malformed", std(extra=[("META-INF/documentsignatures.xml", "<dsig", Z)]), [("shall", "si…
99 build("sig-wrongroot", std(extra=[("META-INF/documentsignatures.xml", "<a/>", Z)]), [("shall", "sig…
100 build("sig-badversion", std(extra=[("META-INF/documentsignatures.xml", SIG % "1.1", Z)]), [("shall"…