#NEWLINE# def test_simple( self ) : #NEWLINE# #INDENT# project = self . create_project ( ) #NEWLINE# build = self . create_build ( project ) #NEWLINE# job = self . create_job ( build ) #NEWLINE# jobphase = self . create_jobphase ( job ) #NEWLINE# jobstep = self . create_jobstep ( jobphase ) #NEWLINE# command = self . create_command ( jobstep ) #NEWLINE# path = '/api/0/commands/{0}/' . format ( self . id . hex ) #NEWLINE# resp = self . client . get ( path ) #NEWLINE# assert ( resp . status_code == 200 ) #NEWLINE# data = self . unserialize ( resp ) #NEWLINE# assert ( data [ 'id' ] == command . id . hex )