From c89ce620f64568e20494b8014353a64e33763bfc Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Sun, 13 Mar 2011 13:37:55 -0400 Subject: [PATCH] Removing some internal project names and tweaking documentation verbiage/examples. --- docs/source/databases.rst | 2 +- docs/source/testing.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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::