#NEWLINE# def test_admin_disabled( self ) : #NEWLINE# #INDENT# self . flags ( allow_admin_api = False ) #NEWLINE# req = webob . Request . blank ( '/v1.0/flavors' ) #NEWLINE# res = req . get_response ( fakes . wsgi_app ( ) ) #NEWLINE# self . assertEqual ( req . status_int , 200 )