<commit_before>import unittest


class ErrorResponseTest(unittest.TestCase):

    def test_init(self):
        pass

    def test_trace(self):
        pass

    def test_append_to_trace(self):
        pass

    def test_call(self):
        pass

    def test_str(self):
        pass<commit_msg>more unit tests for error response<commit_after>import unittest

from prestans import exception
from prestans.rest import ErrorResponse
from prestans.serializer import JSON


class ErrorResponseTest(unittest.TestCase):

    def test_init(self):
        raised_exception = exception.NoEndpointError()
        json_serializer = JSON()

        error_response = ErrorResponse(raised_exception, json_serializer)

    def test_trace(self):
        pass

    def test_append_to_trace(self):
        pass

    def test_call(self):
        pass

    def test_str(self):
        pass
{'fraction_non_alphanumeric': 0.06566820276497695, 'fraction_numerical': 0.0, 'mean_word_length': 2.95, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2211579', 'n_tokens_mistral': 255, 'n_tokens_neox': 240, 'n_words': 60}