Jochen Kupperschmidt
e3bb34ec24
Added missing import.
...
As this specific code block lists imports in general and an import from the `flask` package specifically, it should also include `g` for the sake of completeness.
2015-01-13 03:03:14 +01:00
Markus Unterwaditzer
bd2c8b631f
Fix #1298
2014-12-30 12:08:17 +01:00
Nic Young
29ba05f5be
Fix grammar in testing doc.
2014-12-29 22:11:17 -07:00
defuz
663802e976
docs: ``with``, ``for``, ``self``
2014-11-05 07:39:54 +03:00
defuz
a8f570cc62
docs: :file:`app.py`, :file:`yourapp/templates`
2014-11-05 06:45:22 +03:00
defuz
3fa4fd0908
docs: http method names like ``GET`` and ``POST``
2014-11-05 06:13:01 +03:00
Nico Revin
22219f51e5
Update doclinks
...
Fix redirects and broken links
2014-07-24 23:30:50 +04:00
Armin Ronacher
b9013ede22
Clarified how to test with click
2014-05-02 11:50:00 +01:00
Armin Ronacher
93073489a0
Documented changes on the g object some more
2013-06-05 10:02:33 +01:00
Armin Ronacher
1f6be7ff63
Added example on faking resources and context
2013-06-05 09:58:28 +01:00
lambdadi
a754d28302
Database improperly closed in example code
...
os.unlink(flaskr.DATABASE) causes the actual application database to be
purged; whereas, I reckon, one wants the _test_ database to be removed.
So every time I ran it, the test passed, but ended up crashing the live
app for want of a valid database.
I avoided using the sample code in examples/flaskr thus far, as I chose
to type out code from the turorial docs. The actual example code looks
good - at least to my beginner's eye.
2013-02-11 18:55:24 +05:30
Armin Ronacher
22af78a96f
Removed outdated sentence in the testing docs
2012-09-21 01:02:42 +09:00
Daniel Neuhäuser
a43f73c75c
s/Ify ou/If you/ typo
2011-08-26 10:13:54 +03:00
Armin Ronacher
1ea3d4ea53
Updated documentation regarding the session transactions
2011-08-25 16:13:43 +01:00
Armin Ronacher
c8663e8dab
Fixed a typo in the docs.
2011-07-10 13:35:26 +02:00
Armin Ronacher
99c2defb43
Added an example of how to postprocess requests in the testing docs.
2011-07-10 13:34:21 +02:00
Armin Ronacher
7e55b5084d
Mention the TESTING flag in the docs
2011-06-17 21:53:11 +02:00
matt swanson
f58c98904f
fixing some wording issues on the testing page
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-14 15:11:04 -04:00
matt swanson
6bdde49348
fixing cross-referenced links on testing page
2011-03-13 15:47:14 -09:00
Daniel Haaker
94a7312d5a
Add missing semicolon to test
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-29 18:41:10 +02:00
Armin Ronacher
0566abc28d
Fixed testing example
2010-08-18 20:10:47 +02:00
Armin Ronacher
d17b6d738a
Fixed a refacotring error in the docs. This fixes #100
2010-08-03 12:17:36 +02:00
Adam Zapletal
505c530c9a
Minor testing documentation fixes (grammar, etc)
2010-06-28 15:12:33 +08:00
Armin Ronacher
20c2e53893
Alcoholified placeholders
2010-06-11 01:37:35 +02:00
Armin Ronacher
bc00fd1e83
Added support for deferred context cleanup. test_client users can now access the context locals after the actual request if the client is used with a with-block. This fixes #59 .
2010-06-03 15:26:07 +02:00
Georg Brandl
a224fecfd5
More typo fixes.
2010-05-30 02:15:05 +08:00
Armin Ronacher
dfecc86dd3
Ported examples over to new config. documented upgrading
2010-05-27 21:17:25 +02:00
Armin Ronacher
8d49440d8b
Added example for context bound objects to the testing docs. This fixes #18
2010-05-02 11:45:40 +02:00
florentx
f014ce29a7
Fix a doc oversight, and revert 5876a8fd
.
2010-04-21 16:36:19 +08:00
Armin Ronacher
f6b9efc1e9
Added missing os import.
2010-04-20 20:03:03 +02:00
Armin Ronacher
3053fcdb0d
Make the example tests pass on Windows.
...
Also updated the documentation regarding that.
2010-04-20 20:01:00 +02:00
Chris Edgemon
a7ff9dbddd
Proofreading the documentation
2010-04-19 23:25:51 -05:00
Armin Ronacher
bf52a17902
Removed useless code
2010-04-18 16:29:41 +02:00
Armin Ronacher
6dd92ae4b3
Beefed up the tutorial
2010-04-16 02:03:45 +02:00
Armin Ronacher
2f5a4f8dbc
Doc updates and typo fixes
2010-04-12 00:14:59 +02:00