(barerepo: Repository)
| 200 | |
| 201 | |
| 202 | def test_deep_contains(barerepo: Repository) -> None: |
| 203 | tree = barerepo[TREE_SHA] |
| 204 | assert isinstance(tree, Tree) |
| 205 | assert 'a' in tree |
| 206 | assert 'c' in tree |
| 207 | assert 'c/d' in tree |
| 208 | assert 'c/e' not in tree |
| 209 | assert 'd' not in tree |
| 210 | |
| 211 | assert isinstance(tree['c'], Tree) |
| 212 | assert 'd' in tree['c'] |
| 213 | assert 'e' not in tree['c'] |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…