Skip to content

Commit 09cabb8

Browse files
committed
adding annotations, cleaning up
1 parent ba5954a commit 09cabb8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/fixtures/fakedata/posts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def fake_posts() -> list[post.PostCreate]:
2020

2121
@pytest.fixture
2222
def fake_post_models_db_userid1(
23-
fake_posts:list[schemas.post.PostCreate],
24-
add_user_db_id1:schemas.user.UserDb
23+
fake_posts :list[schemas.post.PostCreate],
24+
add_user_db_id1 :schemas.user.UserDb
2525
) -> list[models.Post]:
2626
logger.debug('returning fake Post model list')
2727
return [models.Post(**_post.model_dump(), owner_id=add_user_db_id1.id)

0 commit comments

Comments
 (0)