def test_edit(self):
        self.client.login(username='alex', password='alex')
        data = self._edit_data()
        data.update(BLANK_EXTERNALS)
        response = self.client.post(self.edit_path, data, follow=True)
        self.assertRedirects(response, self.view_path)
        # Check for a success message
        self.assertSuccessMessage(response)
        assert_equal(Submission.objects.get().description, data['description'])