We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba5954a commit 09cabb8Copy full SHA for 09cabb8
1 file changed
tests/fixtures/fakedata/posts.py
@@ -20,8 +20,8 @@ def fake_posts() -> list[post.PostCreate]:
20
21
@pytest.fixture
22
def fake_post_models_db_userid1(
23
- fake_posts:list[schemas.post.PostCreate],
24
- add_user_db_id1:schemas.user.UserDb
+ fake_posts :list[schemas.post.PostCreate],
+ add_user_db_id1 :schemas.user.UserDb
25
) -> list[models.Post]:
26
logger.debug('returning fake Post model list')
27
return [models.Post(**_post.model_dump(), owner_id=add_user_db_id1.id)
0 commit comments