Made tests recognizable

This commit is contained in:
Markus Unterwaditzer 2014-08-31 21:54:45 +02:00
parent 3550b26071
commit 961db8ad72
16 changed files with 31 additions and 31 deletions

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite
tests
~~~~~~~~~~~~~~~
Tests Flask itself. The majority of Flask is already tested

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.appctx
tests.appctx
~~~~~~~~~~~~~~~~~~~~~~
Tests the application context.
@ -11,7 +11,7 @@
import flask
import unittest
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
class AppContextTestCase(FlaskTestCase):

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.basic
tests.basic
~~~~~~~~~~~~~~~~~~~~~
The basic functionality.
@ -17,7 +17,7 @@ import pickle
import unittest
from datetime import datetime
from threading import Thread
from flask.testsuite import FlaskTestCase, emits_module_deprecation_warning
from tests import FlaskTestCase, emits_module_deprecation_warning
from flask._compat import text_type
from werkzeug.exceptions import BadRequest, NotFound, Forbidden
from werkzeug.http import parse_date

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.blueprints
tests.blueprints
~~~~~~~~~~~~~~~~~~~~~~~~~~
Blueprints (and currently modules)
@ -11,7 +11,7 @@
import flask
import unittest
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
from flask._compat import text_type
from werkzeug.http import parse_cache_control_header
from jinja2 import TemplateNotFound

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.config
tests.config
~~~~~~~~~~~~~~~~~~~~~~
Configuration and instances.
@ -15,7 +15,7 @@ import flask
import pkgutil
import unittest
from contextlib import contextmanager
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
from flask._compat import PY2

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.deprecations
tests.deprecations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tests deprecation support.
@ -11,7 +11,7 @@
import flask
import unittest
from flask.testsuite import FlaskTestCase, catch_warnings
from tests import FlaskTestCase, catch_warnings
class DeprecationsTestCase(FlaskTestCase):

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.examples
tests.examples
~~~~~~~~~~~~~~~~~~~~~~~~
Tests the examples.
@ -10,7 +10,7 @@
"""
import os
import unittest
from flask.testsuite import add_to_path
from tests import add_to_path
def setup_path():

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.ext
tests.ext
~~~~~~~~~~~~~~~~~~~
Tests the extension import thing.
@ -15,7 +15,7 @@ try:
from imp import reload as reload_module
except ImportError:
reload_module = reload
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
from flask._compat import PY2
class ExtImportHookTestCase(FlaskTestCase):

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.helpers
tests.helpers
~~~~~~~~~~~~~~~~~~~~~~~
Various helpers.
@ -13,7 +13,7 @@ import os
import flask
import unittest
from logging import StreamHandler
from flask.testsuite import FlaskTestCase, catch_warnings, catch_stderr
from tests import FlaskTestCase, catch_warnings, catch_stderr
from werkzeug.http import parse_cache_control_header, parse_options_header
from flask._compat import StringIO, text_type

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.regression
tests.regression
~~~~~~~~~~~~~~~~~~~~~~~~~~
Tests regressions.
@ -16,7 +16,7 @@ import flask
import threading
import unittest
from werkzeug.exceptions import NotFound
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
_gc_lock = threading.Lock()

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.reqctx
tests.reqctx
~~~~~~~~~~~~~~~~~~~~~~
Tests the request context.
@ -15,7 +15,7 @@ try:
from greenlet import greenlet
except ImportError:
greenlet = None
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
class RequestContextTestCase(FlaskTestCase):

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.signals
tests.signals
~~~~~~~~~~~~~~~~~~~~~~~
Signalling.
@ -11,7 +11,7 @@
import flask
import unittest
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
class SignalsTestCase(FlaskTestCase):

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.subclassing
tests.subclassing
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test that certain behavior of flask can be customized by
@ -12,7 +12,7 @@
import flask
import unittest
from logging import StreamHandler
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
from flask._compat import StringIO

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.templating
tests.templating
~~~~~~~~~~~~~~~~~~~~~~~~~~
Template functionality
@ -14,7 +14,7 @@ import unittest
import logging
from jinja2 import TemplateNotFound
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
class TemplatingTestCase(FlaskTestCase):

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.testing
tests.testing
~~~~~~~~~~~~~~~~~~~~~~~
Test client and more.
@ -11,7 +11,7 @@
import flask
import unittest
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
from flask._compat import text_type

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
flask.testsuite.views
tests.views
~~~~~~~~~~~~~~~~~~~~~
Pluggable views.
@ -12,7 +12,7 @@
import flask
import flask.views
import unittest
from flask.testsuite import FlaskTestCase
from tests import FlaskTestCase
from werkzeug.http import parse_set_header
class ViewTestCase(FlaskTestCase):