mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-25 19:04:09 +00:00
Sort script functions documentation
This commit is contained in:
committed by
Philipp Wolfer
parent
d52bfd83b1
commit
66632e9761
@@ -281,14 +281,14 @@ class ScriptParserTest(PicardTestCase):
|
||||
"""test script_function_documentation_all() with markdown format"""
|
||||
self.reset_registry()
|
||||
|
||||
@script_function(documentation='somedoc1')
|
||||
def func_somefunc1(parser):
|
||||
return "x"
|
||||
|
||||
@script_function(documentation='somedoc2')
|
||||
def func_somefunc2(parser):
|
||||
return "x"
|
||||
|
||||
@script_function(documentation='somedoc1')
|
||||
def func_somefunc1(parser):
|
||||
return "x"
|
||||
|
||||
docall = script_function_documentation_all()
|
||||
self.assertEqual(docall, 'somedoc1\nsomedoc2')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user