2011-08-26 11:21:26 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
"""
|
2014-08-31 21:54:45 +02:00
|
|
|
tests.deprecations
|
2011-08-26 11:21:26 +01:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
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
|
2014-08-31 21:56:15 +02:00
|
|
|
from tests import TestFlask, catch_warnings
|
2011-08-26 11:21:26 +01:00
|
|
|
|
|
|
|
|
|
2014-08-31 21:56:15 +02:00
|
|
|
class TestDeprecations(TestFlask):
|
2013-05-22 01:33:04 +02:00
|
|
|
"""not used currently"""
|
2011-08-26 11:21:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def suite():
|
|
|
|
|
suite = unittest.TestSuite()
|
2014-08-31 21:56:15 +02:00
|
|
|
suite.addTest(unittest.makeSuite(TestDeprecations))
|
2011-08-26 11:21:26 +01:00
|
|
|
return suite
|