#NEWLINE# @ override_settings ( GOOGLE_ANALYTICS_TRACKING_STYLE = TRACK_MULTIPLE_DOMAINS , GOOGLE_ANALYTICS_DOMAIN = 'example.com' ) #NEWLINE# def test_track_multiple_domains( self ) : #NEWLINE# #INDENT# r = GoogleAnalyticsNode ( ) . render ( Context ( ) ) #NEWLINE# self . assertTrue ( ( "_gaq.push(['_setDomainName', 'example.com']);" in r ) , self ) #NEWLINE# self . assertTrue ( ( "_gaq.push(['_setAllowHash', false]);" in r ) , r ) #NEWLINE# self . assertTrue ( ( "_gaq.push(['_setAllowLinker', true]);" in r ) , r )