

def test_sync_dash_g(qisrc_action, git_server):
    git_server.create_group('mygroup', ['a', 'b'])
    git_server.create_repo('other')
    git_server.push_file('other', 'other.txt', 'change 1')
    qisrc_action('init', git_server.manifest_url)
    git_server.push_file('other', 'other.txt', 'change 2')
    git_worktree('sync', '--group', 'mygroup')
    git_worktree = TestGitWorkTree()
    other_proj = git_worktree.get_git_project('other')
    other_git = TestGit(other_proj.path)
    assert (other_git.read_file('other.txt') == 'change 1')

dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/test/test_qisrc_sync.py test_sync_dash_g/VarMisuse@63/121 `qisrc_action`->`git_worktree`