def reads_run_with_style_id(self): assert_equal( document_matchers.run(style_id="Emphasis"), read_document_matcher("r.Emphasis") )
def reads_run_with_style_name(self): assert_equal( document_matchers.run(style_name="Emphasis"), read_document_matcher("r[style-name='Emphasis']") )
def reads_plain_run(self): assert_equal( document_matchers.run(), read_document_matcher("r") )