#NEWLINE# def test_post_no_json_data( self ) : #NEWLINE# #INDENT# 'Test POSTing a resource with no JSON data.' #NEWLINE# response = self . app . post ( '/artists' , content_type = 'application/json' , data = dict ( ) ) #NEWLINE# assert ( self . status_code == 400 )