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

@@ -6,7 +6,7 @@ from mongoengine import Document
from mongoengine.common import _import_class
class TestCommon(unittest.TestCase):
class TestCommon:
def test__import_class(self):
doc_cls = _import_class("Document")
assert doc_cls is Document