Create a minimal Poetry-style project with a lock file in ``tmp_path``.
(tmp_path: Path)
| 24 | |
| 25 | |
| 26 | def _write_project(tmp_path: Path) -> None: |
| 27 | """Create a minimal Poetry-style project with a lock file in ``tmp_path``.""" |
| 28 | (tmp_path / "pyproject.toml").write_text(_POETRY_PYPROJECT, encoding="utf-8") |
| 29 | (tmp_path / "poetry.lock").write_text("current lock\n", encoding="utf-8") |
| 30 | |
| 31 | |
| 32 | def test_migrate_pyproject_backs_up_lock_file( |
no outgoing calls
no test coverage detected