(barerepo: Repository)
| 191 | |
| 192 | |
| 193 | def test_hash(barerepo: Repository) -> None: |
| 194 | data = 'foobarbaz' |
| 195 | hashed_sha1 = pygit2.hash(data) |
| 196 | written_sha1 = barerepo.create_blob(data) |
| 197 | assert hashed_sha1 == written_sha1 |
| 198 | |
| 199 | |
| 200 | def test_hashfile(barerepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…