remove inheritance from unittest.TestCase on basic test classes

This commit is contained in:
Bastien Gérard
2019-09-02 08:50:46 +03:00
parent 799cdafae6
commit d8924ed892
6 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ from mongoengine.base.utils import LazyRegexCompiler
signal_output = []
class LazyRegexCompilerTest(unittest.TestCase):
class TestLazyRegexCompiler:
def test_lazy_regex_compiler_verify_laziness_of_descriptor(self):
class UserEmail(object):
EMAIL_REGEX = LazyRegexCompiler("@", flags=32)