#NEWLINE# def test_live_stream_contains_variables( self , subscriptions ) : #NEWLINE# #INDENT# ' Live stream page has various websocket variables. ' #NEWLINE# self . login ( identity = 'subscriber@localhost.com' ) #NEWLINE# response = self . client . get ( url_for ( 'stream.live_stream' ) ) #NEWLINE# html = response . data #NEWLINE# assert ( 'data-faye-public-url="http://localhost:4242/stream"' in html ) #NEWLINE# assert ( 'src="http://localhost:4242/stream/client.js"' in html ) #NEWLINE# assert ( '<div id="broadcast"></div>' in html )