(testrepo: Repository)
| 286 | |
| 287 | |
| 288 | def test_entry_repr(testrepo: Repository) -> None: |
| 289 | index = testrepo.index |
| 290 | hello_entry = index['hello.txt'] |
| 291 | assert ( |
| 292 | repr(hello_entry) |
| 293 | == '<pygit2.index.IndexEntry path=hello.txt id=a520c24d85fbfc815d385957eed41406ca5a860b mode=33188>' |
| 294 | ) |
| 295 | assert ( |
| 296 | str(hello_entry) |
| 297 | == '<path=hello.txt id=a520c24d85fbfc815d385957eed41406ca5a860b mode=33188>' |
| 298 | ) |
| 299 | |
| 300 | |
| 301 | def test_create_empty() -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…