#NEWLINE# def test_raw( self ) : #NEWLINE# #INDENT# patch = self . create_patch ( ) #NEWLINE# path = '/api/0/patches/{0}/?raw=1' . format ( patch . id . hex ) #NEWLINE# resp = self . client . get ( path ) #NEWLINE# assert ( resp . status_code == 200 ) #NEWLINE# assert ( resp . data . decode ( 'utf-8' ) == patch . diff )