#NEWLINE# def test_projects_create_many_users( self ) : #NEWLINE# #INDENT# self . _project_create ( ) #NEWLINE# alice_data = { #NEWLINE# #INDENT# 'username' : 'alice' , #NEWLINE# 'email' : 'alice@localhost.com' , #NEWLINE# #UNINDENT# } #NEWLINE# self . _login_user_and_profile ( alice_data ) #NEWLINE# self . _project_create ( ) #NEWLINE# projects = Project . objects . filter ( created_by = self . user ) #NEWLINE# self . assertEqual ( len ( projects ) , 1 ) #NEWLINE# for project in projects : #NEWLINE# #INDENT# self . assertEqual ( self . user , project . created_by ) #NEWLINE# self . assertEqual ( project . user , project . organization )