#NEWLINE# def test_new_syntax( build_worktree ) : #NEWLINE# #INDENT# world_proj = build_worktree . create_project ( 'world' ) #NEWLINE# with open ( build_worktree . qiproject_xml , 'w' ) as fp : #NEWLINE# #INDENT# fp . write ( '\n<project format="3">\n  <version>0.42</version>\n  <qibuild name="world" />\n</project>\n' ) #NEWLINE# #UNINDENT# build_worktree = TestBuildWorkTree ( ) #NEWLINE# world_proj = build_worktree . get_build_project ( 'world' ) #NEWLINE# assert ( world_proj . name == 'world' ) #NEWLINE# assert ( world_proj . version == '0.42' )