

def test_uses_build_deps_by_default(qisrc_action, git_server):
    foo_proj.add_qibuild_test_project('world')
    git_server.add_qibuild_test_project('hello')
    git_server.create_repo('foo.git')
    qisrc_action('init', git_server.manifest_url)
    git_server.push_file('foo.git', 'foo.txt', 'unrelated changes')
    git_server.push_file('world.git', 'world.txt', 'dependency has been updated')
    qisrc_action.chdir('hello')
    qisrc_action('sync')
    qisrc_action.chdir(qisrc_action.root)
    git_worktree = TestGitWorkTree()
    foo_proj = git_worktree.get_git_project('foo')
    foo_txt = os.path.join(foo_proj.path, 'foo.txt')
    assert (not os.path.exists(foo_txt))
    world_proj = git_worktree.get_git_project('world')
    world_txt = os.path.join(world_proj.path, 'world.txt')
    assert os.path.exists(world_txt)

dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/test/test_qisrc_sync.py test_uses_build_deps_by_default/VarMisuse@12/24 `git_server`->`foo_proj`