(path: str, password: str = None)
| 679 | |
| 680 | @cache |
| 681 | def _self_signed_certificate_windows(path: str, password: str = None): |
| 682 | if not sys.platform.startswith("win"): |
| 683 | return |
| 684 | return _execute( |
| 685 | ["powershell.exe", REPO_DIR / "scripts/create_self_signed_certificate.ps1"], |
| 686 | CONSTRUCTOR_SIGNING_CERTIFICATE=str(path), |
| 687 | CONSTRUCTOR_PFX_CERTIFICATE_PASSWORD=password, |
| 688 | ) |
| 689 | |
| 690 | |
| 691 | def _example_path(example_name): |
no test coverage detected