remove inheritance from unittest.TestCase on basic test classes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user