Testing that we're able to iterate of a Tree object and then iterate trees we receive as a result.
(barerepo: Repository)
| 187 | |
| 188 | |
| 189 | def test_iterate_tree_nested(barerepo: Repository) -> None: |
| 190 | """ |
| 191 | Testing that we're able to iterate of a Tree object and then iterate |
| 192 | trees we receive as a result. |
| 193 | """ |
| 194 | tree = barerepo[TREE_SHA] |
| 195 | assert isinstance(tree, Tree) |
| 196 | for tree_entry in tree: |
| 197 | if isinstance(tree_entry, pygit2.Tree): |
| 198 | for tree_entry2 in tree_entry: |
| 199 | pass |
| 200 | |
| 201 | |
| 202 | def test_deep_contains(barerepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…