<commit_before>import unittest

from pecan_swagger import utils


class TestUtils(unittest.TestCase):
    def test_swagger_build(self):
        from .resources import example_app

        expected = {
            "swagger": "2.0",
            "info": {
                "version": "1.0",
                "title": "example_app"
                },
            "paths": {
                "/messages": {
                    "GET": {},
                    "POST": {}
                    },
                "/profile": {
                    "GET": {},
                    "POST": {}
                    },
                "/profile/image": {
                    "GET": {},
                    "POST": {}
                    },
                "/profile/stats": {
                    "GET": {}
                    }
                }
            }
        <commit_msg>remove whitespace from test_utils<commit_after>import unittest

from pecan_swagger import utils


class TestUtils(unittest.TestCase):
    def test_swagger_build(self):
        from .resources import example_app

        expected = {
            "swagger": "2.0",
            "info": {
                "version": "1.0",
                "title": "example_app"
                },
            "paths": {
                "/messages": {
                    "GET": {},
                    "POST": {}
                    },
                "/profile": {
                    "GET": {},
                    "POST": {}
                    },
                "/profile/image": {
                    "GET": {},
                    "POST": {}
                    },
                "/profile/stats": {
                    "GET": {}
                    }
                }
            }

{'fraction_non_alphanumeric': 0.12817551963048499, 'fraction_numerical': 0.004618937644341801, 'mean_word_length': 0.7611788617886179, 'pattern_counts': {'":': 32, '<': 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': '7349595', 'n_tokens_mistral': 436, 'n_tokens_neox': 395, 'n_words': 71}