(
root: Path,
name: str = "example",
*,
init_source: str | None = None,
)
| 73 | |
| 74 | |
| 75 | def _write_strategy_folder( |
| 76 | root: Path, |
| 77 | name: str = "example", |
| 78 | *, |
| 79 | init_source: str | None = None, |
| 80 | ) -> Path: |
| 81 | folder: Final = root / name |
| 82 | folder.mkdir(parents=True) |
| 83 | (folder / "__init__.py").write_text(init_source or _strategy_source(), encoding="utf-8") |
| 84 | return folder |
| 85 | |
| 86 | |
| 87 | def test_should_load_surface_aware_and_function_only_strategies() -> None: |
no test coverage detected