diff --git a/tests/pecantest/test/tests/config.py b/tests/pecantest/test/tests/config.py index 9b8ffa6..3f35dcf 100644 --- a/tests/pecantest/test/tests/config.py +++ b/tests/pecantest/test/tests/config.py @@ -8,9 +8,8 @@ server = { app = { 'root' : 'test.controllers.root.RootController', 'modules' : ['test'], - 'static_root' : '%(confdir)s/../../public', + 'static_root' : '%(confdir)s/../../public', 'template_path' : '%(confdir)s/../templates', - 'debug' : True, 'errors' : { '404' : '/error/404', '__force_dict__' : True @@ -20,6 +19,6 @@ app = { # Custom Configurations must be in Python dictionary format:: # # foo = {'bar':'baz'} -# +# # All configurations are accessible at:: # pecan.conf diff --git a/tests/pecantest/test/tests/test_ws.py b/tests/pecantest/test/tests/test_ws.py index 01e0994..d53c002 100644 --- a/tests/pecantest/test/tests/test_ws.py +++ b/tests/pecantest/test/tests/test_ws.py @@ -31,7 +31,7 @@ class TestWS(FunctionalTest): expect_errors=True ) print res - assert res.status == 400 + self.assertEqual(res.status, '400 Bad Request') a = json.loads(res.body) print a assert a['faultcode'] == 'Client'