

def test_basic_add_POST(self):
    '\n        Ensure POST on add_view works.\n        '
    post_data = {
        '_popup': '1',
        'name': 'Action added through a popup',
        'description': 'Description of added action',
    }
    response = self.client.post(reverse('admin_custom_urls:admin_custom_urls_action_add'), post_data)
    self.assertContains(response, 'Action added through a popup')

dataset/ETHPy150Open django/django/tests/admin_custom_urls/tests.py AdminCustomUrlsTest.test_basic_add_POST/original