Assert that submodule update commands were called.
(mock: AsyncMock, cfg: CloneConfig)
| 345 | |
| 346 | |
| 347 | def assert_submodule_calls(mock: AsyncMock, cfg: CloneConfig) -> None: |
| 348 | """Assert that submodule update commands were called.""" |
| 349 | mock.assert_any_call("git", "-C", cfg.local_path, "submodule", "update", "--init", "--recursive", "--depth=1") |
no outgoing calls
no test coverage detected