'Quick user addition in a FK popup shouldn\'t invoke view for further user customization'

def test_user_fk_popup(self):

    response = self.client.get(u'/test_admin/admin/admin_views/album/add/')
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, u'/test_admin/admin/auth/user/add')
    self.assertContains(response, u'class="add-another"    id="add_id_owner"    onclick="return    showAddAnotherPopup(this);"')
    response = self.client.get(u'/test_admin/admin/auth/user/add/?_popup=1')
    self.assertEqual(response.status_code, 200)
    self.assertNotContains(response, u'name="_continue"')
    self.assertNotContains(response, u'name="_addanother"')
    data = {u'username': u'newuser', u'password1': u'newpassword', u'password2': u'newpassword', u'_popup': u'1', u'_save': u'1'}
    response = self.client.post(u'/test_admin/admin/auth/user/add/?_popup=1', data, follow=True)
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, u'dismissAddAnotherPopup')
