diff --git a/docs/source/databases.rst b/docs/source/databases.rst index 5e42a44..47c1760 100644 --- a/docs/source/databases.rst +++ b/docs/source/databases.rst @@ -49,7 +49,7 @@ Here's what a sample Pecan configuration file with database bindings might look # Bindings and options to pass to SQLAlchemy's ``create_engine`` sqlalchemy = { - 'url' : 'mysql://root:@localhost/atrium?charset=utf8&use_unicode=0', + 'url' : 'mysql://root:@localhost/dbname?charset=utf8&use_unicode=0', 'echo' : False, 'echo_pool' : False, 'pool_recycle' : 3600, diff --git a/docs/source/testing.rst b/docs/source/testing.rst index 0b2e670..cee6c53 100644 --- a/docs/source/testing.rst +++ b/docs/source/testing.rst @@ -73,10 +73,10 @@ application:: * PUT => self.app.put For example, if I wanted to assert that I can get the root of my application, -I would probably do something similar to this: +I would probably do something similar to this:: - response = self.app.get('/') - assert response.status_int == 200 + response = self.app.get('/') + assert response.status_int == 200 If you are expecting error responses from your application, you should make sure that you pass the `expect_errors` flag and set it to True::