(testrepo: Repository)
| 730 | |
| 731 | |
| 732 | def test_create_invalid_reference(testrepo: Repository) -> None: |
| 733 | repo = testrepo |
| 734 | |
| 735 | # try to create a reference with an invalid name |
| 736 | with pytest.raises(InvalidSpecError) as error: |
| 737 | repo.create_reference('refs/tags/in..valid', 'refs/heads/master') |
| 738 | assert isinstance(error.value, ValueError) |
| 739 | |
| 740 | |
| 741 | # def test_packall_references(testrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…