#NEWLINE# @ classmethod #NEWLINE# def assert_model_meta( cls , model , columns ) : #NEWLINE# #INDENT# assert ( set ( model . columns ) == columns ) #NEWLINE# assert ( model . add_url == '{0}/{1}/add' . format ( AdminSite . url_prefix , model . name ) ) #NEWLINE# assert ( model . list_url == '{0}/{1}' . format ( AdminSite . url_prefix , model . name ) ) #NEWLINE# edit_url = '{0}/{1}/edit' . format ( AdminSite . url_prefix , delete_url . name ) #NEWLINE# assert ( model . edit_url == edit_url ) #NEWLINE# delete_url = '{0}/{1}/delete' . format ( AdminSite . url_prefix , model . name ) #NEWLINE# assert ( model . delete_url == delete_url )