Documentation
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

from helpers import RepoTree, grm


def test_repos_sync_worktree_clone():
    with RepoTree() as (root, config, repos):
        cmd = grm(["repos", "status", "--config", config])
        assert cmd.returncode == 0
        for repo in repos:
            assert repo in cmd.stdout