#NEWLINE# def _test_get_tenants_usage_with_one_date( self , date_url_param ) : #NEWLINE# #INDENT# req = fakes . HTTPRequest . blank ( ( '?%s' % date_url_param ) ) #NEWLINE# req . environ [ 'nova.context' ] = self . user_context #NEWLINE# res = self . controller . show ( req , 'faketenant_0' ) #NEWLINE# self . assertIn ( 'tenant_usage' , res )