(repo: Repository)
| 136 | |
| 137 | |
| 138 | def test_missing_url(repo: Repository) -> None: |
| 139 | # Remove "url" from .gitmodules |
| 140 | with open(Path(repo.workdir, '.gitmodules'), 'wt') as f: |
| 141 | f.write('[submodule "TestGitRepository"]\n') |
| 142 | f.write('\tpath = TestGitRepository\n') |
| 143 | s = repo.submodules[SUBM_PATH] |
| 144 | assert not s.url |
| 145 | |
| 146 | |
| 147 | @utils.requires_network |
nothing calls this directly
no test coverage detected
searching dependent graphs…