def ca(tmp_path, monkeypatch): p = tmp_path / "ca" return certs.CertificateAuthority(p, CA_NAME)
def ca(tmp_path, monkeypatch): p = tmp_path / "etc" / "ssl" return certs.CertificateAuthority(p, "ca-name")
def fixture_ca(tmp_path: Path) -> certs.CertificateAuthority: return certs.CertificateAuthority( tmp_path / "ca", CA_NAME, )
def ca(tmpdir, monkeypatch): p = Path("%s" % tmpdir) / "etc" / "ssl" return certs.CertificateAuthority(p, "ca-name")
def ca(tmpdir, monkeypatch): p = Path("%s" % tmpdir) / "ca" return certs.CertificateAuthority(p, CA_NAME)