def METHOD_NAME(self):
    # Arrange
    badge = self.swc_instructor.pk
    term = "term"
    view = self.setUpView(term=term, badge=badge)
    # Act
    queryset = view.get_queryset()
    # Assert
    self.assertEqual(
        set(queryset),
        set(
            Award.objects.filter(badge__pk=badge).filter(
                Q(person__personal__icontains=term)
                | Q(person__middle__icontains=term)
                | Q(person__family__icontains=term)
                | Q(person__email__icontains=term)
                | Q(badge__name__icontains=term)
            )
        ),
    )