From 3a9cb397038897fd5e515769b84d510be8ee301d Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Fri, 18 Jan 2013 15:32:36 -0500 Subject: [PATCH] Update a test to be more repeatable. --- pecan/tests/test_rest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pecan/tests/test_rest.py b/pecan/tests/test_rest.py index 1bad77f..ce855ee 100644 --- a/pecan/tests/test_rest.py +++ b/pecan/tests/test_rest.py @@ -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'