<commit_before>import sys
import os.path
from nose.tools import *
import utilities

def test_portal_analyzer():
    Reader = utilities.JsonFileReader('test_view_resource.json')
    datasets = Reader.get_all_datasets()
    Analyzer = utilities.DatasetAnalyzer()
    Analyzer._creation_time = 'null' # Avoids timestamp conflict<commit_msg>Setting up TravisCI Merge branch 'master' of https://github.com/open-austin/data-portal-analysis<commit_after>import sys
import os.path
from nose.tools import *
import utilities

def test_portal_analyzer():
    Reader = utilities.JsonFileReader('tests/test_view_resource.json')
    datasets = Reader.get_all_datasets()
    Analyzer = utilities.DatasetAnalyzer()
    Analyzer._creation_time = 'null' # Avoids timestamp conflict
{'fraction_non_alphanumeric': 0.09174311926605505, 'fraction_numerical': 0.0, 'mean_word_length': 5.420168067226891, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2732962', 'n_tokens_mistral': 235, 'n_tokens_neox': 224, 'n_words': 50}