#NEWLINE# def test_doap( webtest ) : #NEWLINE# #INDENT# resp = webtest . get ( '/pypi?:action=doap&name=foo&version=1.0' , status = 410 ) #NEWLINE# assert ( webtest . status == '410 DOAP is no longer supported.' )