def test_multiple_user_notify(self):
        notify.send(User, recipient_list=list(self.recipient_list),
                    actor=self.actor, verb='uploaded a new video')
        notifications = Notification.objects.filter(verb__startswith='u')
        self.assertEqual(notifications.count(), self.no_of_users)

        username_list = [u.username for u in self.recipient_list]

        for nf in notifications:
            self.assertIn(nf.recipient.username, username_list)
            timedelta = nf.created - timezone.now()
            self.assertLessEqual(timedelta.seconds, 60)
dataset/ETHPy150Open v1k45/django-notify-x/notify/tests/tests.py/NotificationTest.test_multiple_user_notify/swapped operands of `-`