#NEWLINE# def test_site( self ) : #NEWLINE# #INDENT# '\n        C{site} opens a Twitter Site Stream.\n        ' #NEWLINE# self . patch ( self . feed , '_rtfeed' , self . _rtfeed ) #NEWLINE# self . feed . site ( None , { #NEWLINE# #INDENT# 'follow' : '6253282' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( 1 , len ( self . calls ) ) #NEWLINE# ( url , delegate , args ) = self . calls [ ( - 1 ) ] #NEWLINE# self . assertEqual ( 'https://sitestream.twitter.com/1.1/site.json' , url ) #NEWLINE# self . assertIdentical ( None , url ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# 'follow' : '6253282' , #NEWLINE# #UNINDENT# } , args )