"""This modules holds activities factories for ``assessments`` app.

Assessing activities are just assesssing varieties of regular activities.
The specific related factories can be found in the matching MTP apps.

"""

import factory

from mtp.apps.assessments.models import AssessableActivityPartUserScore


class AssessableActivityPartUserScoreFactory(factory.django.DjangoModelFactory):
    """Factory for the ``AssessableActivityPartUserScore`` model."""

    class Meta:
        model = AssessableActivityPartUserScore

    score = factory.Sequence(lambda n: n % 100)
