#NEWLINE# def test_query_immutable( self ) : #NEWLINE# #INDENT# ' It should always refine queries by creating a new query and\n        never modify the original base query. ' #NEWLINE# a = self . query . metrics ( 'pageviews' ) #NEWLINE# b = a . range ( '2014-07-01' ) #NEWLINE# self . assertNotEqual ( a , b ) #NEWLINE# self . assertNotEqual ( a . raw , b . raw )