Commit graph

2036 commits

Author SHA1 Message Date
Petr Zemek
a11febd5b7 Unify the uses of "testsuite" vs "test suite".
Use "test suite", which is more prevailing in the source code.
2014-10-27 11:31:01 +01:00
Petr Zemek
27d339dc69 Put two spaces before inline comments when there is only one space.
PEP8 (E261) suggests to use at least two spaces before inline comments.
2014-10-27 11:24:15 +01:00
Petr Zemek
0371506bf7 Change == None to is None.
PEP8 (E711) suggests that comparison to None should be `cond is None`.
2014-10-27 11:17:49 +01:00
Petr Zemek
cbd4f414c6 Remove two redundant empty lines.
PEP8 suggests to use two empty lines to separate functions, not three.
2014-10-27 11:13:03 +01:00
Petr Zemek
feeab8fa00 Fix two typos in the description of FlaskGroup. 2014-10-27 11:03:07 +01:00
Markus Unterwaditzer
0cc9f71bfe Merge pull request #1213 from defuz/config-patch
Add trim_namespace argument for app.config.get_namespace (with tests)
2014-10-25 12:54:59 +02:00
Markus Unterwaditzer
03a1759dbb Merge pull request #1217 from jeffwidman/patch-1
Fix typo: "lated later" >> "added later"
2014-10-25 12:46:08 +02:00
Jeff Widman
54ee981660 Fix typo: "lated later" >> "added later" 2014-10-25 03:14:01 -07:00
defuz
a6d41d9f2f add tests for trim_namespace argument of app.config.get_namespace 2014-10-24 13:11:10 +04:00
Bryan Stitt
ff12442dc8 Update config.py 2014-10-24 13:11:10 +04:00
Bryan Stitt
c3080305f3 Update config.py
I want to load all of my `CELERY_` options from the config and leave `CELERY_` on there.
2014-10-24 13:11:10 +04:00
Markus Unterwaditzer
74161f7045 Merge branch 'compressed-jsonify'
Fix #1203
2014-10-21 19:12:05 +02:00
Markus Unterwaditzer
15e4d6f338 PEP8 2014-10-21 19:11:54 +02:00
Gilman Callsen
6f0c3533c7 Improve compression by removing whitespace from separators when using jsonify() and JSONIFY_PRETTYPRINT_REGULAR is False.
Commit includes Changelog entry and two new tests in test_basic.py.
2014-10-21 19:11:06 +02:00
Markus Unterwaditzer
bc807e42eb Merge branch 'test-client-kwargs'
Fix #992
2014-10-20 21:21:53 +02:00
Matt Wright
9b1bb78272 Add CHANGES entry and versionchanged entry to docstring 2014-10-20 21:21:30 +02:00
Matt Wright
c20deb5506 Add a little documentation regarding kwargs in the app.test_client() method 2014-10-20 21:21:30 +02:00
Matt Wright
f6b0c0278e Pass keyword args from test_client method to client class constructor 2014-10-20 21:21:30 +02:00
Markus Unterwaditzer
4ef9ceaa08 Add changelog entry for #1206 2014-10-19 19:54:41 +02:00
Markus Unterwaditzer
9edc71432a Merge pull request #1206 from methane/deprecate-request.json
Deprecate request.json property
2014-10-19 19:53:26 +02:00
INADA Naoki
856718578e Add test for deprecated flask.Request properties. 2014-10-15 03:32:04 +09:00
INADA Naoki
558d7813a0 Deprecate request.json property 2014-10-15 02:21:52 +09:00
Markus Unterwaditzer
cf2a13aaf6 Various fixes for test running
Fix #1199
2014-10-08 23:12:18 +02:00
Markus Unterwaditzer
5884666628 Merge pull request #619 from QuentinRoy/master
Fix missing argument in find_module of flaskext_compat.py
2014-10-07 19:01:17 +02:00
Markus Unterwaditzer
c39da3f9fc Merge pull request #1196 from davide-ceretti/add-tearing-down-signal-unittest
Add unittest for appcontext_tearing_down signal
2014-10-07 13:09:13 +02:00
Davide Ceretti
8c5559c211 Add unittest for appcontext_tearing_down signal 2014-10-07 07:34:19 +01:00
Markus Unterwaditzer
a8cb6bcd34 Don't include doc themes in sdist 2014-09-29 21:49:40 +02:00
Markus Unterwaditzer
29f5407474 Merge pull request #1191 from nluchs/patch-2
Minor typo in errorpages.rst
2014-09-28 07:11:39 +02:00
Markus Unterwaditzer
26d7f2e6ef Merge pull request #1192 from nluchs/patch-3
Minor typos in sqlite3.rst
2014-09-28 07:10:27 +02:00
Nick Luchsinger
9d449c06eb Minor typos in sqlite3.rst
Self-explanatory.
2014-09-27 18:39:43 -07:00
Nick Luchsinger
e7be450677 Minor typo in errorpages.rst 2014-09-27 15:34:08 -07:00
Markus Unterwaditzer
e2820761c0 Merge pull request #1186 from llimllib/master
some grammar fixes in docs/appcontext
2014-09-26 19:22:41 +02:00
Markus Unterwaditzer
2e9a0b26ee Merge pull request #1187 from bdarnell/patch-1
Stop recommending Tornado as a WSGI server
2014-09-25 17:21:44 +02:00
Ben Darnell
7eda5f3eba Stop recommending Tornado as a WSGI server
Tornado's WSGI server is less scalable than the alternatives and only really makes sense when you have a specific need to run both WSGI apps and Tornado-native apps in the same process. This recommendation has been an ongoing source of confusion, e.g. http://stackoverflow.com/questions/26015116/making-tornado-to-serve-a-request-on-a-separate-thread.

Fixes #986.
2014-09-25 09:35:46 -04:00
Bill Mill
553f59cf95 some grammar fixes in appcontext
* "in lack of" -> "for lack of"
* pillar's -> pillars
* ~~however~~
* a touch of cleanup to the "two ways" paragraph
* ~~on there~~
* "database connects" -> "database connections"
2014-09-21 23:03:41 -04:00
Markus Unterwaditzer
93001352c6 Remove useless unittest imports 2014-09-21 16:47:38 +02:00
Markus Unterwaditzer
73b022df70 Merge pull request #1183 from k-funk/patch-1
Update quickstart.rst
2014-09-20 13:38:47 +02:00
Markus Unterwaditzer
cf442dc315 Merge pull request #1164 from pbu88/run_tests
Adds 2 tests for Flask.run method
2014-09-20 09:00:03 +02:00
Markus Unterwaditzer
397da1029e Merge pull request #1185 from defuz/patch-2
Fix typo in changelog
2014-09-20 08:57:47 +02:00
Ivan Ivaschenko
f0f327d62a Fix typo in changelog 2014-09-20 10:41:46 +04:00
Kevin Funk
41f55195e8 Update quickstart.rst
url converters: match the [API docs](http://flask.pocoo.org/docs/0.10/api/#url-route-registrations)
2014-09-19 15:22:37 -07:00
Markus Unterwaditzer
6faf016030 Merge pull request #1181 from kelvintaywl/examples/fix_readme
fix typo in in README of examples (i.e., filename of test files)
2014-09-18 15:37:43 +02:00
tay-k
cc5c633a30 fix filename of test files in README of examples 2014-09-18 18:21:36 +09:00
Paulo Bu
a096c04e62 Adds 2 tests for Flask.run method 2014-09-14 17:27:19 +02:00
Markus Unterwaditzer
64e377c960 Merge pull request #1175 from pbu88/update_readme
Update tests section in README file
2014-09-13 11:47:42 +02:00
Paulo Bu
12fbf34750 Update tests section in README file 2014-09-13 10:29:28 +02:00
Markus Unterwaditzer
604683fe6a Add changelog 2014-09-12 21:55:49 +02:00
Markus Unterwaditzer
96264ed86f Merge pull request #1165 from untitaker/new_testsuite
Port testsuite to py.test
2014-09-12 21:54:59 +02:00
Markus Unterwaditzer
0b992484dd Testsuite is not a package 2014-09-11 22:09:52 +02:00
Markus Unterwaditzer
8a83e7a78b Remove useless imports 2014-09-11 22:09:52 +02:00