split tests into packages
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
## Other
|
||||
|
||||
* Performance optimizations
|
||||
* Split tests into packages based on tested area
|
||||
|
||||
# 0.10.1
|
||||
|
||||
|
||||
@@ -584,8 +584,8 @@ class NewBaseModel(pydantic.BaseModel, ModelTableProxy, metaclass=ModelMetaclass
|
||||
nested_model = getattr(self, field)
|
||||
if isinstance(nested_model, MutableSequence):
|
||||
dict_instance[field] = self._extract_nested_models_from_list(
|
||||
relation_map=self._skip_ellipsis(
|
||||
relation_map, field, default_return=dict() # type: ignore
|
||||
relation_map=self._skip_ellipsis( # type: ignore
|
||||
relation_map, field, default_return=dict()
|
||||
),
|
||||
models=nested_model,
|
||||
include=self._skip_ellipsis(include, field),
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ from fastapi import FastAPI
|
||||
from starlette.testclient import TestClient
|
||||
|
||||
from tests.settings import DATABASE_URL
|
||||
from tests.test_inheritance_concrete import ( # type: ignore
|
||||
from tests.test_inheritance.test_inheritance_concrete import ( # type: ignore
|
||||
Category,
|
||||
Subject,
|
||||
Person,
|
||||
+1
-1
@@ -6,7 +6,7 @@ from fastapi import FastAPI
|
||||
from starlette.testclient import TestClient
|
||||
|
||||
from tests.settings import DATABASE_URL
|
||||
from tests.test_inheritance_mixins import Category, Subject, metadata, db as database # type: ignore
|
||||
from tests.test_inheritance.test_inheritance_mixins import Category, Subject, metadata, db as database # type: ignore
|
||||
|
||||
app = FastAPI()
|
||||
app.state.database = database
|
||||
Reference in New Issue
Block a user