summaryrefslogtreecommitdiff
path: root/tests/test_pyscript.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-26 02:53:13 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-26 02:53:13 -0400
commit341873618852bca9e3d803ee8e704c04cbba831e (patch)
tree22959c66e97b0ab97e3be7b8047d104c72b0d04c /tests/test_pyscript.py
parente0b289b940cd18adab173f65f0413a9575525860 (diff)
downloadcmd2-git-341873618852bca9e3d803ee8e704c04cbba831e.tar.gz
First steps in converting all commands to argparse
Diffstat (limited to 'tests/test_pyscript.py')
-rw-r--r--tests/test_pyscript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pyscript.py b/tests/test_pyscript.py
index 84abc965..c7769c7a 100644
--- a/tests/test_pyscript.py
+++ b/tests/test_pyscript.py
@@ -84,7 +84,7 @@ class PyscriptExample(Cmd):
@with_argparser(foo_parser)
def do_foo(self, args):
- self.poutput('foo ' + str(args.__dict__))
+ self.poutput('foo ' + str(sorted(args.__dict__)))
if self._in_py:
FooResult = namedtuple_with_defaults('FooResult',
['counter', 'trueval', 'constval',