Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 14, 2024
1 parent 2e813dc commit 5b5d525
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
from ...models.milestones import MilestoneGroupAdmin
from ...models.milestones import MilestoneGroupText
from ...models.milestones import MilestoneImage
from ...models.utils import ItemOrder
from ...models.milestones import MilestoneText
from ...models.utils import ItemOrder
from ...settings import app_settings
from ..utils import add
from ..utils import update_item_orders
from ..utils import calculate_milestone_age_scores
from ..utils import get
from ..utils import update_item_orders
from ..utils import update_milestone_group_text
from ..utils import update_milestone_text
from ..utils import write_file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
from ...models.questions import ChildQuestionText
from ...models.questions import UserQuestion
from ...models.questions import UserQuestionAdmin
from ...models.utils import ItemOrder
from ...models.questions import UserQuestionText
from ...models.utils import ItemOrder
from ..utils import add
from ..utils import update_item_orders
from ..utils import get
from ..utils import update_child_question_text
from ..utils import update_item_orders
from ..utils import update_user_question_text


Expand Down
3 changes: 2 additions & 1 deletion mondey_backend/tests/routers/test_questions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fastapi.testclient import TestClient
import pytest
from fastapi.testclient import TestClient


def test_get_child_questions(user_client: TestClient):
Expand All @@ -13,6 +13,7 @@ def test_get_user_questions(user_client: TestClient):
assert response.status_code == 200
assert len(response.json()) == 2


@pytest.mark.parametrize("entity", ["child-questions", "user-questions"])
@pytest.mark.parametrize(
("order_items", "ids_in_order"),
Expand Down

0 comments on commit 5b5d525

Please sign in to comment.