Remove flask superclass

This commit is contained in:
Markus Unterwaditzer 2014-09-03 21:02:03 +02:00
parent af41dbe0c4
commit af4cb0ff2b
15 changed files with 14 additions and 35 deletions

View file

@ -11,11 +11,9 @@
"""
from __future__ import print_function
import pytest
import os
import sys
import flask
import warnings
from functools import update_wrapper
from contextlib import contextmanager
@ -82,22 +80,3 @@ def emits_module_deprecation_warning(f):
for entry in log:
assert 'Modules are deprecated' in str(entry['message'])
return update_wrapper(new_f, f)
class TestFlask(object):
"""Baseclass for all the tests that Flask uses. Use these methods
for testing instead of the camelcased ones in the baseclass for
consistency.
"""
def setup_method(self, method):
self.setup()
def teardown_method(self, method):
self.teardown()
def setup(self):
pass
def teardown(self):
pass