Daniel Neuhäuser
d43bfb261a
Add assertIsInstance to FlaskTestCase on 2.6
...
This fixes an error in ConfigTestCase.test_custom_config_class
2014-02-20 19:17:59 +01:00
Daniel Neuhäuser
66e51d5be7
Merge branch 'master' of https://github.com/Xion/flask into Xion-master
...
Conflicts:
flask/testsuite/config.py
2014-02-20 19:12:56 +01:00
Daniel Neuhäuser
52098e1e4f
Happy New Year 2014
2014-01-02 19:21:07 +01:00
Karol Kuczmarski
ec5b182f15
Add Flask.config_class feature
2013-06-22 22:09:30 +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
Daniel Neuhäuser
8f73c552a9
Add missing assertIn, assertNotIn methods on 2.6
2013-05-22 20:53:32 +02:00
Daniel Neuhäuser
62e7275bdf
Use assert_false where appropriate
2013-05-22 20:17:29 +02:00
Daniel Neuhäuser
9f8a2075c7
Use assert_in where appropriate
2013-05-22 20:12:50 +02:00
Daniel Neuhäuser
4d73ef1a19
Add missing msg argument to assert_true()
2013-05-22 19:19:46 +02:00
Daniel Neuhäuser
239780be28
Use assert_true instead of assert_
...
assert_ is deprecated which causes annoying warnings
2013-05-22 17:23:38 +02:00
Thomas Waldmann
e1d356fb71
ported some more stuff to py 3.3
...
removed init_jinja_globals hack from app.py after consulting mitsuhiko
(didn't work on py 3.3 "as is")
removed with_statement future imports, not needed any more
needs more work on 2.7 as well as on 3.3
2013-05-22 01:33:04 +02:00
Daniel Neuhäuser
8494574fdf
Merge branch 'six' of github.com:ThomasWaldmann/flask into ThomasWaldmann-six
...
Conflicts:
flask/testsuite/__init__.py
2013-05-18 18:54:45 +02:00
Thomas Waldmann
cfbfff2d26
python-modernize automated changes: misc. minor stuff
2013-05-18 17:57:43 +02:00
Thomas Waldmann
6caaa8a527
automated change using python-modernize: use 'as' in except
2013-05-18 16:24:40 +02:00
Armin Ronacher
f8b6033a3b
Added a workaround for samefile. This fixes #600
2012-10-07 16:04:31 +02:00
Simon Sapin
b8ef7360eb
Add to sys.path, not sys.path_info
2011-09-23 10:34:41 +03:00
Armin Ronacher
56afafae67
Do not break extension tests if tested with installed extensions.
2011-09-23 02:04:21 +02:00
Armin Ronacher
9691b7f0bf
Deal with partially setup packages in the redirect hook.
2011-09-21 21:34:47 +02:00
Ron DuPlain
37f9cb9ca6
Import with statement in testsuite, Python 2.5.
2011-09-01 12:35:04 -04:00
Armin Ronacher
e509d25d32
Some more cleanups in how the test runner is invoked
2011-08-26 17:35:47 +01:00
Armin Ronacher
5235c3e37e
Make BetterLoader() have a better api :)
2011-08-26 12:09:55 +01:00
Armin Ronacher
a082a5e0ba
Cleanup in the test finder
2011-08-26 12:07:49 +01:00
Armin Ronacher
5a49688554
Moved loader code into the testsuite and out of the runner
2011-08-26 12:02:40 +01:00
Armin Ronacher
4cb6eea8f1
Split up testsuite and moved it to flask.testsuite. This fixes #246
2011-08-26 11:21:26 +01:00