~ubuntu-branches/debian/sid/cmdtest/sid

« back to all changes in this revision

Viewing changes to yarnlib/mdparser.py

  • Committer: Package Import Robot
  • Author(s): Lars Wirzenius
  • Date: 2013-07-23 21:56:29 UTC
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: package-import@ubuntu.com-20130723215629-qq9w8nkx16b0y0qd
Tags: upstream-0.9
ImportĀ upstreamĀ versionĀ 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
        ext = ParseScenarioTestBlocks()
68
68
        f = StringIO.StringIO()
69
69
        markdown.markdown(text, output=f, extensions=[ext])
70
 
        self.blocks = ext.blocks
 
70
        self.blocks.extend(ext.blocks)
 
71
        return ext.blocks
71
72
 
72
73
    def parse_file(self, filename): # pragma: no cover
73
74
        with open(filename) as f:
74
 
            self.parse_string(f.read())
 
75
            return self.parse_string(f.read())
75
76