#NEWLINE# def _create_project( self ) : #NEWLINE# #INDENT# project = models . Project ( ) #NEWLINE# project . name = 'TEST_PROJECT' #NEWLINE# project . description = 'TEST_DESCRIPTION' #NEWLINE# project . save ( ) #NEWLINE# stage = models . Stage ( ) #NEWLINE# stage . project = project #NEWLINE# stage . name = 'Production' #NEWLINE# stage . save ( ) #NEWLINE# self . stage = stage #NEWLINE# configuration = models . Configuration ( ) #NEWLINE# configuration . project = project #NEWLINE# configuration . stage = stage #NEWLINE# configuration . key = 'KEY' #NEWLINE# configuration . value = 'VALUE' #NEWLINE# configuration . prompt_me_for_input = True #NEWLINE# configuration . save ( ) #NEWLINE# self . configuration = configuration #NEWLINE# task = models . Task ( ) #NEWLINE# task . name = 'update_sandbox_site' #NEWLINE# task . save ( ) #NEWLINE# self . task = task #NEWLINE# deployment = models . Deployment ( ) #NEWLINE# deployment . user = self . user #NEWLINE# deployment . stage = stage #NEWLINE# deployment . comments = 'COMMENTS' #NEWLINE# deployment . output = 'OUTPUT' #NEWLINE# deployment . task = task #NEWLINE# deployment . save ( ) #NEWLINE# self . deployment = deployment #NEWLINE# self . project = project