Create an empty git repository for testing.
()
| 39 | |
| 40 | @pytest.fixture |
| 41 | def empty_repo(): |
| 42 | """Create an empty git repository for testing.""" |
| 43 | with tempfile.TemporaryDirectory() as temp_dir: |
| 44 | init_git_repo(temp_dir) |
| 45 | yield temp_dir |
| 46 | |
| 47 | |
| 48 | def test_empty_diff(temp_repo): |
nothing calls this directly
no test coverage detected