#NEWLINE# def test_recurse_deps( build_worktree ) : #NEWLINE# #INDENT# gtest = build_worktree . create_project ( 'gtest' ) #NEWLINE# libfoo = build_worktree . create_project ( 'libfoo' , build_depends = [ 'gtest' ] ) #NEWLINE# bar = build_worktree . create_project ( 'bar' , build_depends = [ 'libfoo' ] ) #NEWLINE# deps_solver = DepsSolver ( build_worktree ) #NEWLINE# assert ( deps_solver . get_dep_projects ( [ bar ] , [ 'build' , 'runtime' ] ) == [ bar , libfoo , bar ] )