##// END OF EJS Templates
Backport PR #4909: sort dictionary keys before comparison, ordering is not guaranteed...
MinRK -
Show More
@@ -630,7 +630,7 def test_user_expression():
630 r = ip.user_expressions(query)
630 r = ip.user_expressions(query)
631 import pprint
631 import pprint
632 pprint.pprint(r)
632 pprint.pprint(r)
633 nt.assert_equal(r.keys(), query.keys())
633 nt.assert_equal(set(r.keys()), set(query.keys()))
634 a = r['a']
634 a = r['a']
635 nt.assert_equal(set(['status', 'data', 'metadata']), set(a.keys()))
635 nt.assert_equal(set(['status', 'data', 'metadata']), set(a.keys()))
636 nt.assert_equal(a['status'], 'ok')
636 nt.assert_equal(a['status'], 'ok')
General Comments 0
You need to be logged in to leave comments. Login now