(testrepo: Repository)
| 101 | |
| 102 | |
| 103 | def test_invalid(testrepo: Repository) -> None: |
| 104 | commit_id = testrepo.lookup_reference('refs/heads/master').target |
| 105 | commit = testrepo[commit_id] |
| 106 | |
| 107 | with pytest.raises(ValueError): |
| 108 | commit.peel(ObjectType.TAG) |
| 109 | |
| 110 | |
| 111 | def test_invalid_type(testrepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…