#NEWLINE# def test_get_set_license( worktree ) : #NEWLINE# #INDENT# foo = worktree . create_project ( 'foo' ) #NEWLINE# assert ( foo . license is None ) #NEWLINE# foo . license = 'GPL' #NEWLINE# assert ( foo . license == 'GPL' ) #NEWLINE# worktree2 = TestWorkTree ( ) #NEWLINE# foo2 = worktree2 . get_project ( 'foo' ) #NEWLINE# assert ( foo2 . license == 'GPL' )