Commit graph

1504 commits

Author SHA1 Message Date
Armin Ronacher
e9fa24cfa3 Make travis install development werkzeug 2013-05-31 00:56:09 +01:00
Armin Ronacher
6bd5dfad0c Test Flask against werkzeug master 2013-05-30 21:39:54 +01:00
Armin Ronacher
da747738e8 Merge branch 'master' of github.com:mitsuhiko/flask 2013-05-30 21:39:22 +01:00
Armin Ronacher
29e63e01ab Merge branch 'sprint-branch' 2013-05-30 21:39:06 +01:00
Armin Ronacher
b8aa9fed9a Added tox-test command 2013-05-30 18:19:01 +01:00
Armin Ronacher
e07dcb5562 Adjusted a testcase for Python 3 2013-05-30 18:17:04 +01:00
Armin Ronacher
f1918093ac Changed teardown error handling to be more reliable. 2013-05-30 18:15:17 +01:00
Armin Ronacher
90e3906d02 Fixed some test failures 2013-05-30 17:58:27 +01:00
Armin Ronacher
9ae8487330 Fixed a broekn testcase 2013-05-30 16:16:39 +01:00
Armin Ronacher
7f35fc2935 Merge pull request #751 from ThomasWaldmann/sprint-branch
fixing issues found while debugging, fix error in 1 test
2013-05-30 07:08:17 -07:00
Armin Ronacher
abc1505196 Fixed various issues on the Python 3 port 2013-05-30 15:07:18 +01:00
Thomas Waldmann
bbfef4c406 flask view function may return bytes/str/unicode 2013-05-30 16:02:28 +02:00
Thomas Waldmann
51042f4c9f fix issues in test_context_refcounts that were unnoticed yet as they did not make the test fail 2013-05-30 16:00:43 +02:00
Armin Ronacher
8aaf302586 Disable direct passthrough for accessing the data attribute on newer Werkzeugs 2013-05-30 14:35:23 +01:00
Armin Ronacher
eb622fb34f Fixed a whole bunch of resource warnings in the flask testsuite 2013-05-30 14:31:36 +01:00
Armin Ronacher
47572c5b40 Set the content length automatically before calling wrap_file 2013-05-30 14:24:29 +01:00
Armin Ronacher
ffd9296507 Close request objects if they support closing. 2013-05-30 12:51:12 +01:00
Armin Ronacher
775c76ac5c Enabled test mode for an app 2013-05-30 12:48:04 +01:00
Daniel Neuhäuser
404265110a Always return a list from get_flashed_messages 2013-05-26 21:46:22 +02:00
Daniel Neuhäuser
915d7180fc Merge pull request #747 from ThomasWaldmann/sprint-branch
replace 1/0 by 1 // 0 to get rid of DeprecationWarning (and PEP8 issue)
2013-05-26 11:41:28 -07:00
Thomas Waldmann
ac04bc7836 replace 1/0 by 1 // 0 to get rid of DeprecationWarning (and PEP8 issue) 2013-05-26 20:33:22 +02:00
Thomas Waldmann
0f5d8c258c Merge branch 'sprint-branch' of https://github.com/mitsuhiko/flask into sprint-branch 2013-05-26 19:15:53 +02:00
Daniel Neuhäuser
bb2e20f53f Depends on itsdangerous>=0.12 now 2013-05-26 15:37:52 +02:00
Daniel Neuhäuser
77753e9b73 Merge pull request #746 from ThomasWaldmann/sprint-branch
fix typos
2013-05-25 13:06:43 -07:00
Thomas Waldmann
f4f4c3555f Merge branch 'sprint-branch' of https://github.com/mitsuhiko/flask into sprint-branch 2013-05-25 22:04:37 +02:00
Thomas Waldmann
13cc69911c fix typos 2013-05-25 22:01:14 +02:00
Daniel Neuhäuser
4baeac07d9 Merge pull request #745 from ThomasWaldmann/sprint-branch
fix data types in after_request test
2013-05-25 12:01:49 -07:00
Thomas Waldmann
f9e9e77464 fix data types in after_request test
TODO: why was that bug not causing / displaying an exception somehow?
      should give a TypeError in py 3.3.
2013-05-25 20:58:12 +02:00
Daniel Neuhäuser
1fe20d3208 Merge pull request #744 from ThomasWaldmann/sprint-branch
2 small fixes for metaclass and import usage
2013-05-25 11:28:16 -07:00
Thomas Waldmann
96b8ffbb29 always import from ._compat 2013-05-25 20:24:14 +02:00
Thomas Waldmann
83f7658572 fix metaclass usage for py3 2013-05-25 20:19:17 +02:00
Daniel Neuhäuser
3c5d7bab26 Merge pull request #743 from ThomasWaldmann/sprint-branch
fix iterator in testsuite helpers
2013-05-25 10:49:25 -07:00
Thomas Waldmann
af5576a6c5 fix iterator in testsuite helpers 2013-05-25 19:46:26 +02:00
Daniel Neuhäuser
da10fb41b7 Merge pull request #741 from Turbo87/patch-1
Fixed typo in app.blueprints docstring
2013-05-25 10:36:10 -07:00
Daniel Neuhäuser
ffbcad1e46 Merge pull request #742 from ThomasWaldmann/sprint-branch
fix minitwit/flaskr test errors, improve docs about file open mode
2013-05-25 10:35:08 -07:00
Thomas Waldmann
8bb972e5ae fix minitwit/flaskr test errors, improve docs about file open mode
app.open_resource needs to get called with the correct mode param (python3
will read bytes [not str] if the wrong mode is used), add mode param docs.

rv.data is bytes, fix the data type we compare it with to be also bytes
2013-05-25 19:13:48 +02:00
Tobias Bieniek
12c08c03fb Fixed typo in app.blueprints docstring 2013-05-25 09:10:41 +03:00
Armin Ronacher
250247d96c Added install section 2013-05-23 14:17:51 +01:00
Armin Ronacher
df5890ad71 Change travis test command 2013-05-23 14:15:27 +01:00
Armin Ronacher
22816b1d3d Removed 2.5 support in master 2013-05-23 14:09:22 +01:00
Armin Ronacher
85ba8c96e9 Fixed a broken test 2013-05-23 14:07:25 +01:00
Armin Ronacher
16df96c552 Merge branch 'master' into sprint-branch 2013-05-23 14:01:33 +01:00
Armin Ronacher
4c27f7a8c4 Removed incorrect JSON exception subclasses 2013-05-23 13:59:10 +01:00
Armin Ronacher
eb023bcfad Support old and new name for json 2013-05-23 13:46:51 +01:00
Daniel Neuhäuser
79ec3d81c1 Prevent UnboundLocalError in test_build_error_handler 2013-05-22 22:58:12 +02:00
Daniel Neuhäuser
43b6d0a6d0 Ensure that config file is closed immediately 2013-05-22 22:49:25 +02:00
Daniel Neuhäuser
a0801719f8 Remove six dependency 2013-05-22 21:40:30 +02:00
Daniel Neuhäuser
135c53a5f2 Fix .iteritems() access in flask.sessions 2013-05-22 21:30:45 +02:00
Daniel Neuhäuser
d395d3684a Merge pull request #739 from untitaker/sprint-branch
Fix leak in leak detection code
2013-05-22 12:16:25 -07:00
Markus Unterwaditzer
3d36d6efb9 Fix leak in leak detection code
If ensure_clean_request_context found a leak, it would raise an
AssertionError and not clean up the leak, and therefore affect other
testcases.
2013-05-22 21:09:32 +02:00