(testrepo: Repository)
| 310 | |
| 311 | |
| 312 | def test_list_all_reference_objects(testrepo: Repository) -> None: |
| 313 | repo = testrepo |
| 314 | refs = [(ref.name, ref.target) for ref in repo.listall_reference_objects()] |
| 315 | |
| 316 | assert sorted(refs) == [ |
| 317 | ('refs/heads/i18n', '5470a671a80ac3789f1a6a8cefbcf43ce7af0563'), |
| 318 | ('refs/heads/master', '2be5719152d4f82c7302b1c0932d8e5f0a4a0e98'), |
| 319 | ] |
| 320 | |
| 321 | |
| 322 | def test_list_all_references(testrepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…