def test_live_stream_contains_variables(self, subscriptions):
        self.login(identity='subscriber@localhost.com')
        response = self.client.get(url_for('stream.live_stream'))

        html = response.data

        assert 'data-faye-public-url="http://localhost:4242/stream"' in html
        assert 'src="http://localhost:4242/stream/client.js"' in html
        assert '<div id="broadcast"></div>' in html
Wrapper for ast.parse() that cleans the contents of CRs and ensures
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/tests/stream/test_views.py/TestLiveStream.test_live_stream_contains_variables--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.util/src/openmdao/util/astutil.py/parse_ast