diff options
| author | Max Nanis | 2026-08-25 11:09:52 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-08-25 11:09:52 -0700 |
| commit | 3b4059135be47f7752a08e4277a85f9e57ceaa9d (patch) | |
| tree | 122561f7cc99aeb2933a4fc37d07b3eecd514701 /tests/models/legacy/test_user_question_answer_in.py | |
| parent | 5682f48a96b0713929a4bb52e72eec5907d5dd32 (diff) | |
| download | generalresearch-3b4059135be47f7752a08e4277a85f9e57ceaa9d.tar.gz generalresearch-3b4059135be47f7752a08e4277a85f9e57ceaa9d.zip | |
Ruff typing from this morning. WIP
Diffstat (limited to 'tests/models/legacy/test_user_question_answer_in.py')
| -rw-r--r-- | tests/models/legacy/test_user_question_answer_in.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/tests/models/legacy/test_user_question_answer_in.py b/tests/models/legacy/test_user_question_answer_in.py index ee70d81..313862c 100644 --- a/tests/models/legacy/test_user_question_answer_in.py +++ b/tests/models/legacy/test_user_question_answer_in.py @@ -15,12 +15,12 @@ class TestUserQuestionAnswers: def test_json_init( self, - product_manager, + product_manager: ProductManager, user_manager, session_manager, wall_manager, - user_factory, - product, + user_factory: Callable[..., User], + product: Product, session_factory, utc_hour_ago, ): @@ -60,7 +60,11 @@ class TestUserQuestionAnswers: assert isinstance(instance, UserQuestionAnswers) def test_simple_validation_errors( - self, product_manager, user_manager, session_manager, wall_manager + self, + product_manager: ProductManager, + user_manager, + session_manager, + wall_manager, ): from generalresearch.models.legacy.questions import ( UserQuestionAnswers, @@ -162,8 +166,8 @@ class TestUserQuestionAnswers: def test_allow_answer_failures_silent( self, user_manager, - product, - user_factory, + product: Product, + user_factory: Callable[..., User], utc_hour_ago, session_factory, ): |
