From 0fbe84e7ed357df6b1bb4f620eb6902dd8a58e47 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Fri, 20 Apr 2018 13:30:58 +0100
Subject: [PATCH] another fix to another test

---
 tests/test_wrapperutils.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/test_wrapperutils.py b/tests/test_wrapperutils.py
index 7d8b84780..3e35d91e2 100644
--- a/tests/test_wrapperutils.py
+++ b/tests/test_wrapperutils.py
@@ -390,7 +390,8 @@ def test_fslwrapper_submit():
 
         stdout, stderr = fslsub.output('12345')
 
-        experr = '\n'.join(['{}: {}'.format(k, v) for k, v in kwargs.items()])
+        experr = '\n'.join(['{}: {}'.format(k, kwargs[k])
+                            for k in sorted(kwargs.keys())])
 
         assert stdout.strip() == 'test_script running: 1 2'
         assert stderr.strip() == experr
-- 
GitLab