(repo: Repository)
| 161 | |
| 162 | |
| 163 | def test_repo_read(repo: Repository) -> None: |
| 164 | with pytest.raises(TypeError): |
| 165 | repo[123] # type: ignore |
| 166 | |
| 167 | utils.assertRaisesWithArg(KeyError, '1' * 40, repo.__getitem__, '1' * 40) |
| 168 | |
| 169 | ab = repo[BLOB_OID] |
| 170 | a = repo[BLOB_HEX] |
| 171 | assert ab == a |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…