Test lookup parameters of term

Test the GlossaryLookupParams class.

class TestLookupParams(methodName='runTest')

Bases: TestCase

Test filter by lookup conditions.

Test the query to database using glossary.queries.lookup_params.GlossaryLookupParams class and lookup_conditions of user.

static query_database(lookup_conditions: dict[str, object]) QuerySet

Make a query to the database by test filter.

test_lookup_by_user_id() None

Test filter terms by user.

test_lookup_by_date() None

Test filter terms by term added date.

test_lookup_by_category() None

Test filter terms by category.

test_lookup_by_progress() None

Test filter terms by progress.