<commit_before>#!/usr/bin/env python

import unittest
import sys
sys.path.append( '.' )
sys.path.append( '../lib/' )

#import geocode


class TestGeocode(unittest.TestCase):

    def setUp(self):
        self.foo = 'bar'


if __name__ == '__main__':
    unittest.main()<commit_msg>first crack at setting up geocode_replace_loc testing<commit_after>#!/usr/bin/env python

import sys
import sqlite3
import unittest

sys.path.append( '.' )
sys.path.append( '../lib/' )

from make_test_databases import *
from geocode_setup import create_hashtbl
from geocode_setup import create_sql_helper_functions


class TestGeocode(unittest.TestCase):

    @classmethod
    def setUpClass(self):
        remove_existing_databases()
        make_assignee_db()
        make_inventor_db()
        self.conn = sqlite3.connect("hashTbl.sqlite3")
        cursor = self.conn.cursor()
        create_sql_helper_functions(self.conn)
        create_hashtbl(cursor, self.conn)

    def test_domestic_sql(self):
        pass


if __name__ == '__main__':
    unittest.main()
{'fraction_non_alphanumeric': 0.11100478468899522, 'fraction_numerical': 0.0028708133971291866, 'mean_word_length': 3.5478260869565217, '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': '1861737', 'n_tokens_mistral': 361, 'n_tokens_neox': 348, 'n_words': 70}