def test_post_save_change_redirect(self):
        Person.objects.create(name='John Doe')
        self.assertEqual(Person.objects.count(), 1)
        person = Person.objects.all()[0]
        post_url = reverse('admin_custom_urls:admin_custom_urls_person_change', args=[person.pk])
        response = self.client.post(post_url, {'name': 'Jack Doe'})
        self.assertRedirects(response, reverse('admin_custom_urls:admin_custom_urls_person_delete', args=[person.pk]))
Creates or replaces a storage object in this container.
dataset/ETHPy150Open django/django/tests/admin_custom_urls/tests.py/AdminCustomUrlsTest.test_post_save_change_redirect--crossover with--dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/Container.create