David Lord
c2705ffd9c
merge app and request context
2025-09-19 16:43:53 -07:00
Arnout Engelen
bb9937593d
docs/testing.rst: fix follow_redirects sample code
2023-10-20 17:17:24 +02:00
Nick Kocharhook
5d31ce1031
Fix incorrect references to query in testing doc
...
The [EnvironBuilder doc](https://werkzeug.palletsprojects.com/en/2.1.x/test/#werkzeug.test.EnvironBuilder ) shows that the correct name for the keyword argument is `query_string`, not `query`. Using `query` results in an error.
I've fixed the two places this appears in the testing doc.
2022-06-01 12:16:21 -07:00
MeViMo
4dd14ed039
Syntax error in testing.rst
2022-04-13 18:49:51 +02:00
MeViMo
19d7a0ef78
docs pass cli args as kwarg to test runner
2022-04-08 11:03:06 -07:00
David Lord
761d7e1652
rewrite testing docs
2022-02-13 14:06:51 -08:00
Frank Yu
35eb582bf3
Change flask.xxx to plain version in testing docs
2021-06-20 23:20:14 +08:00
Frank Yu
7b696e076a
Update testing.rst
2021-06-18 22:18:15 +08:00
David Lord
1936ca8a2e
remove BaseRequest and BaseResponse
2021-01-29 10:52:48 -08:00
David Lord
f31a8ce4bc
Merge pull request #3704 from jackwardell/no-self-required
...
swapping self.assert_equal for assert
2020-07-28 07:10:13 -07:00
jackwardell
daf9ec790a
swapping self.assert_equal for assert
...
self.assert_equal is not in a class and is ambiguous. Beginners might copy and paste this example and not understand it.
2020-07-28 14:23:00 +01:00
David Lord
171aabc87d
remove unused ref directives
...
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
2ae740dd49
f-strings everywhere
2020-04-04 12:10:00 -07:00
David Lord
037ae3f024
Merge remote-tracking branch 'origin/1.1.x'
2020-04-02 11:56:30 -07:00
gutianci
ceed993d63
docs: testing.rst function def missing colon
2020-03-05 18:31:21 +08:00
Nathan McKinley-Pace
2ec150af02
Update testing.rst
...
It now describes how to install flaskr using pip so that all tests pass.
2019-09-02 11:31:34 -04:00
David Lord
1351d0a565
Merge branch '1.0.x'
2019-06-23 16:57:52 -07:00
David Lord
cb6272ccc8
fix docks linkcheck
2019-06-23 15:37:51 -07:00
Jon S. Stumpf
b46f5942a5
address flake8 issues
2019-06-01 06:31:35 -07:00
David Lord
6e995f2379
Merge pull request #3240 from ultimecia7/docfix
...
Fix testing documentation to demonstrate using test client with teardown
2019-05-31 14:06:54 -04:00
ultimecia7
d981cc678a
Fix testing documentation to demonstrate using test client with teardown
2019-05-31 13:18:54 -04:00
David Lord
05a4e15ee4
Merge branch '1.0.x'
2019-05-17 11:13:08 -07:00
brunoais
6142aa64ae
More explicit explanation: session testing
...
Use a more explicit explanation on how to write code to test own code
when sessions are needed.
The previous code was not fully explicit that the client is supposed
to be called after the session transaction and not during.
2019-05-16 18:07:18 -07:00
David Baumgold
6606a4a238
fix RST line too long
2019-05-06 11:11:32 -04:00
Cyker Way
43e2d7518d
Fix inconsistency in testing doc.
2018-10-29 20:53:39 -04:00
Grey Li
21b0aa6dd8
Add prefix for all commands in documentation ( #2877 )
...
* Add prefix for commands in docs
* Add prefix for commands in example's README
2018-09-09 17:41:56 +09:00
Grey Li
27e67dafc0
Remove unnecessary period in documentation
2018-06-17 12:12:37 +08:00
David Lord
fce1885f76
add javascript ajax example
2018-04-12 11:06:02 -07:00
David Lord
c3dd7b8e4c
rewrite tutorial docs and example
2018-04-09 00:53:25 -07:00
David Lord
cf5525f98a
add test_cli_runner for testing app.cli commands
2018-02-19 15:34:46 -08:00
David Lord
ae30fe7de0
document testing cli commands
2018-01-28 18:48:39 -08:00
David Lord
e97253e4c1
clean up JSON code and docs
2017-06-04 11:44:00 -07:00
David Lord
dbc70c9274
Merge remote-tracking branch 'remotes/origin/master' into json-mixin
2017-06-04 09:42:39 -07:00
bovarysme
fe27d04cc1
Fix a small oversight in the testing docs
2017-05-23 22:22:16 +02:00
David Lord
8858135043
Update testing.rst
2017-05-23 11:50:14 -07:00
Neil Grey
378a11f992
For Issue #2286 : Updating test_flaskr to use yield inside fixture
2017-05-22 18:22:08 -07:00
Neil Grey
4e9d51b39b
For Issue #2286 : Fixing indenting of test_login_logout
2017-05-22 17:42:30 -07:00
Neil Grey
65fc888172
For Issue #2286 : Replaces references to unittest in the documentation with pytest
2017-05-22 17:36:55 -07:00
David Lord
f22da31e7f
Merge pull request #2191 from SergioDS/master
...
Updated documentation for being able to use init_db method
2017-04-21 11:45:16 -07:00
David Lord
03857cc48a
use app.testing property instead of config
2017-04-13 16:32:44 -07:00
accraze
1caa9de628
Added missing testing config
...
fixes #1302
2017-04-13 16:27:58 -07:00
Sergio Díaz Sánchez
af11098057
Updated documentation for being able to use init_db method
2017-02-28 00:13:45 +01:00
teichopsia-
5044f3d610
Update testing.rst ( #1987 )
...
Python 3.4.2
TypeError: Type str doesn't support the buffer API
2016-08-19 19:01:13 -07:00
Adam Byrtek
5ebdd5dd74
Documentation updates
2016-08-19 21:21:43 +02:00
Adam Byrtek
5575faad92
Update documentation to use the getter only once
2016-08-19 21:20:59 +02:00
Adam Byrtek
f0d3b71a94
Updates after code review
2016-08-19 21:19:33 +02:00
Adam Byrtek
539569e5f2
Update the testing documentation
2016-08-19 21:19:17 +02:00
Adam Byrtek
23de58682c
Remove redundant `cache` flag
2016-08-19 21:19:17 +02:00
José Carlos García
567fff9d0d
Change to Pallets project
...
* Update CHANGES
* Update CONTRIBUTING.rst
* Update setup.py
* Update tox.ini
* Update extensions.rst
* Update security.rst
* Update installation.rst
* Update testing.rst
* Update upgrading.rst
* Update sidebarintro.html
* Update jquery.rst
* Update dbcon.rst
* Update index.rst
2016-04-03 23:11:38 +02:00
bagratte
9a80fe691d
minor revision of documentation.
2016-04-01 23:12:25 +02:00