def test_blacklist_ips_multiple(self):
        qs = Hit.objects.all()[:5]
        self.admin.blacklist_ips(self.request, qs)
        ips = BlacklistIP.objects.values_list('ip', flat=True)
        self.assertEqual(ips[4], '127.0.0.5')
        self.assertEqual(len(BlacklistIP.objects.all()), 5)
Test adding `blacklist_ips` via Admin action with multiple items.
dataset/ETHPy150Open thornomad/django-hitcount/tests/test_admin.py/HitAdminTest.test_blacklist_ips_multiple