Sort script functions documentation

This commit is contained in:
Laurent Monin
2020-03-09 01:38:28 +01:00
committed by Philipp Wolfer
parent d52bfd83b1
commit 66632e9761
2 changed files with 5 additions and 5 deletions

View File

@@ -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')