def test_entry_not_found(self):
        # Get an ID that doesn't exist
        bad_id = Submission.objects.aggregate(max_id=Max('id'))['max_id'] + 1
        bad_path = '/my-project/challenges/my-challenge/entries/%d/' % bad_id
        response = self.client.get(bad_path)
        assert_equal(response.status_code, 404, response.content)