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.
10 years ago
Markus Unterwaditzer
bd2c8b631f
Fix #1298
10 years ago
Nic Young
29ba05f5be
Fix grammar in testing doc.
10 years ago
defuz
663802e976
docs: ``with``, ``for``, ``self``
10 years ago
defuz
a8f570cc62
docs: :file:`app.py`, :file:`yourapp/templates`
10 years ago
defuz
3fa4fd0908
docs: http method names like ``GET`` and ``POST``
10 years ago
Nico Revin
22219f51e5
Update doclinks
...
Fix redirects and broken links
11 years ago
Armin Ronacher
b9013ede22
Clarified how to test with click
11 years ago
Armin Ronacher
93073489a0
Documented changes on the g object some more
12 years ago
Armin Ronacher
1f6be7ff63
Added example on faking resources and context
12 years ago
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.
12 years ago
Armin Ronacher
22af78a96f
Removed outdated sentence in the testing docs
12 years ago
Daniel Neuhäuser
a43f73c75c
s/Ify ou/If you/ typo
14 years ago
Armin Ronacher
1ea3d4ea53
Updated documentation regarding the session transactions
14 years ago
Armin Ronacher
c8663e8dab
Fixed a typo in the docs.
14 years ago
Armin Ronacher
99c2defb43
Added an example of how to postprocess requests in the testing docs.
14 years ago
Armin Ronacher
7e55b5084d
Mention the TESTING flag in the docs
14 years ago
matt swanson
f58c98904f
fixing some wording issues on the testing page
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
matt swanson
6bdde49348
fixing cross-referenced links on testing page
14 years ago
Daniel Haaker
94a7312d5a
Add missing semicolon to test
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Armin Ronacher
0566abc28d
Fixed testing example
15 years ago
Armin Ronacher
d17b6d738a
Fixed a refacotring error in the docs. This fixes #100
15 years ago
Adam Zapletal
505c530c9a
Minor testing documentation fixes (grammar, etc)
15 years ago
Armin Ronacher
20c2e53893
Alcoholified placeholders
15 years ago
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 .
15 years ago
Georg Brandl
a224fecfd5
More typo fixes.
15 years ago
Armin Ronacher
dfecc86dd3
Ported examples over to new config. documented upgrading
15 years ago
Armin Ronacher
8d49440d8b
Added example for context bound objects to the testing docs. This fixes #18
15 years ago
florentx
f014ce29a7
Fix a doc oversight, and revert 5876a8fd
.
15 years ago
florentx
9d340ad747
Fix a doc oversight, and revert 5876a8fd
.
15 years ago
Armin Ronacher
f6b9efc1e9
Added missing os import.
15 years ago
Armin Ronacher
3053fcdb0d
Make the example tests pass on Windows.
...
Also updated the documentation regarding that.
15 years ago
Chris Edgemon
a7ff9dbddd
Proofreading the documentation
15 years ago
Armin Ronacher
bf52a17902
Removed useless code
15 years ago
Armin Ronacher
6dd92ae4b3
Beefed up the tutorial
15 years ago
Armin Ronacher
2f5a4f8dbc
Doc updates and typo fixes
15 years ago