# Path: backend/flindt/feedback/tests/factories.py
# class FeedbackFactory(DjangoModelFactory):
#     date = FuzzyDateTime(past_date, future_date)
#     recipient = factory.Iterator(User.objects.all())
#     sender = factory.Iterator(User.objects.all())
#     status = FuzzyChoice(dict(Feedback.STATUS_CHOICES).keys())
#     how_recognizable = FuzzyInteger(0, 10)
#     how_valuable = FuzzyInteger(0, 10)
#     actionable = FuzzyChoice([True, False])
#     individual = SubFactory(FeedbackOnIndividualFactory)
# 
#     class Meta:
#         model = Feedback


from django.test import TestCase
from .factories import FeedbackFactory



class FeedbackTestCase(TestCase):
    """
    Used to confirm the correct behaviour of Feedback methods.
    """

    def setUp(self):

# Path: backend/flindt/feedback/tests/factories.py
# class FeedbackFactory(DjangoModelFactory):
#     date = FuzzyDateTime(past_date, future_date)
#     recipient = factory.Iterator(User.objects.all())
#     sender = factory.Iterator(User.objects.all())
#     status = FuzzyChoice(dict(Feedback.STATUS_CHOICES).keys())
#     how_recognizable = FuzzyInteger(0, 10)
#     how_valuable = FuzzyInteger(0, 10)
#     actionable = FuzzyChoice([True, False])
#     individual = SubFactory(FeedbackOnIndividualFactory)
# 
#     class Meta:
#         model = Feedback


# Path: backend/flindt/feedback/tests/tests_models.py
from django.test import TestCase
from .factories import FeedbackFactory




class FeedbackTestCase(TestCase):
    """
    Used to confirm the correct behaviour of Feedback methods.
    """

    def setUp(self):

        self.feedback = FeedbackFactory()