<commit_before>from expert_tourist.utils import gmaps_url_to_coords
from tests.tests import BaseTestConfig

class TestUtils(BaseTestConfig):
    def test_url_to_coords(self):
        url = 'http://maps.google.co.cr/maps?q=9.8757875656828,-84.03733452782035'
        lat, long = gmaps_url_to_coords(url)

        self.assertEqual(lat, 9.8757875656828)
        self.assertEqual(long, -84.03733452782035)<commit_msg>Refactor test to implement 87ceac3 changes<commit_after>from unittest import TestCase

from expert_tourist.utils import gmaps_url_to_coords

class TestUtils(TestCase):

    def test_url_to_coords(self):
        url = 'http://maps.google.co.cr/maps?q=9.8757875656828,-84.03733452782035'
        lat, long = gmaps_url_to_coords(url)

        self.assertEqual(lat, 9.8757875656828)
        self.assertEqual(long, -84.03733452782035)
{'fraction_non_alphanumeric': 0.09857482185273159, 'fraction_numerical': 0.14608076009501186, 'mean_word_length': 4.30188679245283, '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': '3906619', 'n_tokens_mistral': 376, 'n_tokens_neox': 301, 'n_words': 46}