Removing some internal project names and tweaking documentation verbiage/examples.

This commit is contained in:
Ryan Petrello
2011-03-13 13:37:55 -04:00
parent c0282603bc
commit c89ce620f6
2 changed files with 4 additions and 4 deletions

View File

@@ -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,

View File

@@ -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::