#NEWLINE# def test_get_tenants_usage_with_invalid_start_date( self ) : #NEWLINE# #INDENT# req = fakes . HTTPRequest . blank ( ( '?start=%s&end=%s' % ( 'xxxx' , NOW . isoformat ( ) ) ) ) #NEWLINE# req . environ [ 'nova.context' ] = self . user_context #NEWLINE# self . assertRaises ( webob . exc . HTTPBadRequest , self . controller . show , req , 'faketenant_0' )