Test term progress

Test update term study progress view.

class TestUpdateProgressView(methodName='runTest')

Bases: APITestCase

Test update term study progress view.

Test the glossary.views_drf.update_term_study_progress() view.

test_know_before_max() None

Test the mark as know term, before max value of progress.

test_know_on_max() None

Test the know term, on max value of progress.

test_not_know_before_min() None

Test the not know term, before min value of progress.

test_not_know_on_min() None

Test the not know term, on min value of progress.

test_forbidden() None

Test access to term progress for not owner.