'Import demo project multiple times, expect failure 2nd post'

def test_import_demo_already_imported(self):

    self.test_import_demo_pass()
    project = Project.objects.get(slug='eric-demo')
    resp = self.client.get('/dashboard/import/manual/demo/')
    self.assertEqual(resp.status_code, 302)
    self.assertEqual(resp['Location'], '/projects/eric-demo/')
    resp_redir = self.client.get(resp['Location'])
    self.assertEqual(resp_redir.status_code, 200)
    messages = list(resp_redir.context['messages'])
    self.assertEqual(messages[0].level, message_const.SUCCESS)
    self.assertEqual(project, Project.objects.get(slug='eric-demo'))
