#NEWLINE# def test_invalid_category( self ) : #NEWLINE# #INDENT# 'Invalid category slug should result in 404' #NEWLINE# response = get ( response . client , 'questions.marketplace_aaq_category' , args = [ 'invalid-category' ] ) #NEWLINE# eq_ ( 404 , response . status_code )