(repo: Repository)
| 92 | |
| 93 | |
| 94 | def test_lookup_branch_remote(repo: Repository) -> None: |
| 95 | branch = repo.lookup_branch('origin/master', BranchType.REMOTE) |
| 96 | assert branch.target == ORIGIN_MASTER_COMMIT |
| 97 | assert repo.lookup_branch('origin/not-exists', BranchType.REMOTE) is None |
| 98 | |
| 99 | |
| 100 | def test_listall_branches(repo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…