Update a test to be more repeatable.

This commit is contained in:
Ryan Petrello
2013-01-18 15:32:36 -05:00
parent fb6a5713af
commit 3a9cb39703

View File

@@ -886,4 +886,5 @@ class TestRestController(TestCase):
kwargs = {'foo': 'bar', 'spam': 'eggs'}
r = app.post('/', kwargs)
assert r.status_int == 200
assert r.body == dumps(kwargs)
assert r.namespace['foo'] == 'bar'
assert r.namespace['spam'] == 'eggs'