Test lookup parameters of word¶
Test lookup params for word study task.
- class LookupParamsTest(methodName='runTest')¶
Bases:
TestCase
Test get Word Queryset by user parameters.
- test_lookup_by_user_id() None ¶
Test filter words by user.
- test_lookup_by_category() None ¶
Test filter words by category.
- test_lookup_by_source() None ¶
Test filter words by source.
- test_lookup_by_favorites_true() None ¶
Test filter words by only favorite words is True.
- test_lookup_by_favorites_false() None ¶
Test filter words by only favorite words is False.
- test_lookup_by_progress() None ¶
Test filter words by word knowledge assessment.
- test_lookup_by_word_count() None ¶
Test filter words by word count.
- test_lookup_by_date() None ¶
Test filter words by word added date.
- static query_database(form_data: dict[str, object]) QuerySet ¶
Make a query to the database by form data.