def test_hidden_entries(self):
        """Test that draft entries are not visible on the entries page."""
        create_submissions(3)
        submissions = Submission.objects.all()
        hidden_submission = submissions[0]
        hidden_submission.is_draft = True
        hidden_submission.save()
        phase = Phase.objects.get()
        response = self.client.get(phase.get_absolute_url())
        # Check the draft submission is hidden
        assert_equal(set(response.context['entries'].object_list),
                     set(submissions[1:]))