def test_data_integrity_of_get_blocked_ips(self):
        data_in = ['127.0.0.1', '4.2.2.1']
        for ip in data_in:
            utils.block_ip(ip)
        data_out = utils.get_blocked_ips()
        self.assertEqual(sorted(data_in), sorted(data_out))

        # send in None, should have same values.
        utils.block_ip(None)
        data_out = utils.get_blocked_ips()
        self.assertEqual(sorted(data_in), sorted(data_out))
We should be able to optimize away create/delete through a create or delete
dataset/ETHPy150Open kencochrane/django-defender/defender/tests.py/AccessAttemptTest.test_data_integrity_of_get_blocked_ips--crossover with--dataset/ETHPy150Open django/django/tests/migrations/test_optimizer.py/OptimizerTests.test_optimize_through_create