def test_5(self): src = [ """Line 1 Line 2 SOLUTION_""" """BEGIN Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 SOLUTION_""" """END Line 12""" ] app, env = sphinx_setup() _source_read(app, env.docname, src) self.assertEqual(src, [ """Line 1 Line 2 .. raw:: html <textarea class="code_snippet"></textarea><br /> .. Line 12""" ])
def test_5(self): src = [ """Line 1 Line 2 SOLUTION_""" """BEGIN Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 SOLUTION_""" """END Line 12"""] app, env = sphinx_setup() _source_read(app, env.docname, src) self.assertEqual(src, [ """Line 1 Line 2 .. raw:: html <textarea class="code_snippet"></textarea><br /> .. Line 12"""])