Removing some internal project names and tweaking documentation verbiage/examples.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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::
|
||||
|
||||
Reference in New Issue
Block a user