#NEWLINE# def test_missing_service_name( self ) : #NEWLINE# #INDENT# 'Services should 400 without a name' #NEWLINE# response = self . post ( '/admin/api/v1/service-lists' , data = { #NEWLINE# #INDENT# 'description' : 'An exmple service API' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEquals ( self . status_code , 400 ) #NEWLINE# self . assertEquals ( response . headers [ 'Content-Type' ] , 'application/json' )