Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dont depend on output rendering ordering in tests

  • Loading branch information...
commit 76d93d1992204a424c2fc6ea18596f3c4b0eb6de 1 parent 3e0579f
@mcdonc mcdonc authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 deform/tests/test_widget.py
View
4 deform/tests/test_widget.py
@@ -259,7 +259,7 @@ def test_serialize_url(self):
self.assertEqual(renderer.kw['field'], field)
self.assertEqual(renderer.kw['cstruct'], cstruct)
self.assertEqual(renderer.kw['options'],
- '{"delay": 400, "minLength": 2}')
+ json.dumps({"delay": 400, "minLength": 2}))
self.assertEqual(renderer.kw['values'],
json.dumps(url))
@@ -277,7 +277,7 @@ def test_serialize_iterable(self):
self.assertEqual(renderer.kw['field'], field)
self.assertEqual(renderer.kw['cstruct'], cstruct)
self.assertEqual(renderer.kw['options'],
- '{"delay": 10, "minLength": 2}')
+ json.dumps({"delay": 10, "minLength": 2}))
self.assertEqual(renderer.kw['values'],
json.dumps(vals))
Please sign in to comment.
Something went wrong with that request. Please try again.