Randy Liou
158290e3b0
Add coverage for Blueprint.app_errorhandler
...
This test case registers an application-wise error handler from
a Blueprint. Verifies the error handler by aborting the flask app
from the application itself as well as from another registered
Blueprint.
2017-05-22 12:00:04 -07:00
Randy Liou
99eda625f6
Enhance code coverage for Blueprint.endpoint
...
Add basic test for the endpoint decorator for the Blueprint object.
2016-06-03 16:02:45 -07:00
Reuven
98581ec6d6
Use pytest.raises() instead of try/catch with asser 0
...
This is somehow more readable, and enable using the features of pytest's ExeptionInfo (such as errisinstance).
2016-03-04 13:30:40 +02:00
Parkayun
e05771ff60
Happy New Year 2015
2015-01-02 11:35:00 +09:00
Markus Unterwaditzer
93001352c6
Remove useless unittest imports
2014-09-21 16:47:38 +02:00
Markus Unterwaditzer
9dd95d8dbb
Init global test_apps explicitly
2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
1d0b83690e
Remove flask superclass
2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
304913a878
Remove useless classes
2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
879becff31
Rewrite assertion methods
2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
1c40e7ad49
Tests pass now.
2014-09-11 22:09:50 +02:00
Markus Unterwaditzer
2ea00e48ad
Made tests recognizable
2014-09-11 22:09:50 +02:00