|
|
@ -8,13 +8,13 @@ |
|
|
|
:copyright: (c) 2011 by Armin Ronacher. |
|
|
|
:copyright: (c) 2011 by Armin Ronacher. |
|
|
|
:license: BSD, see LICENSE for more details. |
|
|
|
:license: BSD, see LICENSE for more details. |
|
|
|
""" |
|
|
|
""" |
|
|
|
|
|
|
|
from __future__ import with_statement |
|
|
|
import flask |
|
|
|
import flask |
|
|
|
import flask.views |
|
|
|
import flask.views |
|
|
|
import unittest |
|
|
|
import unittest |
|
|
|
from flask.testsuite import FlaskTestCase |
|
|
|
from flask.testsuite import FlaskTestCase |
|
|
|
from werkzeug.http import parse_set_header |
|
|
|
from werkzeug.http import parse_set_header |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ViewTestCase(FlaskTestCase): |
|
|
|
class ViewTestCase(FlaskTestCase): |
|
|
|
|
|
|
|
|
|
|
|
def common_test(self, app): |
|
|
|
def common_test(self, app): |
|
|
|