def test_youtube_video(self):
        urls = ['http://www.youtube.com/watch?v=oHg5SJYRHA0',
                'https://youtube.com/watch?v=oHg5SJYRHA0'
                'http://youtu.be/oHg5SJYRHA0'
                'https://youtu.be/oHg5SJYRHA0']

        for url in urls:
            doc = pq(self.p.parse('[[V:%s]]' % url))
            assert doc('iframe')[0].attrib['src'].startswith(
                '//www.youtube.com/embed/oHg5SJYRHA0')
pauseProducing() events can come from both the TLS transport layer and
dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/tests/test_parser.py/TestWikiParser.test_youtube_video--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/test/test_tls.py/TLSProducerTests.test_streamingProducerBothTransportsDecideToPause