2011-08-26 11:21:26 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
"""
|
|
|
|
|
flask.testsuite.deprecations
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
Tests deprecation support.
|
|
|
|
|
|
2014-01-02 19:21:07 +01:00
|
|
|
:copyright: (c) 2014 by Armin Ronacher.
|
2011-08-26 11:21:26 +01:00
|
|
|
:license: BSD, see LICENSE for more details.
|
|
|
|
|
"""
|
2011-09-01 12:35:04 -04:00
|
|
|
|
2011-08-26 11:21:26 +01:00
|
|
|
import flask
|
|
|
|
|
import unittest
|
|
|
|
|
from flask.testsuite import FlaskTestCase, catch_warnings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class DeprecationsTestCase(FlaskTestCase):
|
2013-05-22 01:33:04 +02:00
|
|
|
"""not used currently"""
|
2011-08-26 11:21:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def suite():
|
|
|
|
|
suite = unittest.TestSuite()
|
|
|
|
|
suite.addTest(unittest.makeSuite(DeprecationsTestCase))
|
|
|
|
|
return suite
|