(self, tdata, filename, is_ca)
| 356 | ], |
| 357 | ) |
| 358 | def test_is_ca(self, tdata, filename, is_ca): |
| 359 | pem = Path(tdata.path(filename)).read_bytes() |
| 360 | cert = certs.Cert.from_pem(pem) |
| 361 | assert cert.is_ca == is_ca |
| 362 | |
| 363 | def test_err_broken_sans(self, tdata): |
| 364 | with open(tdata.path("mitmproxy/net/data/text_cert_weird1"), "rb") as f: |