(scratch_project_data)
| 375 | |
| 376 | @pytest.fixture |
| 377 | def primary_alt_is_prefixed(scratch_project_data): |
| 378 | project_file = Path(scratch_project_data, "Scratch.lektorproject") |
| 379 | content = project_file.read_text(encoding="utf-8") |
| 380 | write_files( |
| 381 | ( |
| 382 | project_file, |
| 383 | content.replace( |
| 384 | "[alternatives.en]\n", |
| 385 | ("[alternatives.en]\n" "url_prefix = /en/\n"), |
| 386 | ), |
| 387 | ) |
| 388 | ) |
| 389 | |
| 390 | |
| 391 | @pytest.fixture |
nothing calls this directly
no test coverage detected