def test_delete(self):
        self.client.login(username='alex', password='alex')
        response = self.client.post(self.delete_path, {}, follow=True)
        assert_equal(response.redirect_chain[0][1], 302)
        assert_equal((Submission.objects.filter(created_by=self.alex_profile)
                      .count()), 0)
        self.assertSuccessMessage(response)
        assert_equal((SubmissionParent.objects
                      .filter(submission__created_by=self.alex_profile)
                      .count()), 0)