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

from dipper.sources.Coriell import Coriell
from tests.test_source import SourceTestCase

import unittest
import logging

logging.basicConfig(level=logging.WARNING)
logger = logging.getLogger(__name__)


class CoriellTestCase(SourceTestCase):

    def setUp(self):
        self.source = Coriell()
        self.source.settestonly(True)
        self._setDirToSource()
        return

    def tearDown(self):
        self.source = None
        return<commit_msg>update coriell test to set nobnodes<commit_after>#!/usr/bin/env python3

from dipper.sources.Coriell import Coriell
from tests.test_source import SourceTestCase

import unittest
import logging

logging.basicConfig(level=logging.WARNING)
logger = logging.getLogger(__name__)


class CoriellTestCase(SourceTestCase):

    def setUp(self):
        self.source = Coriell()
        self.source.settestonly(True)
        self.source.setnobnodes(True)
        self._setDirToSource()
        return

    def tearDown(self):
        self.source = None
        return
{'fraction_non_alphanumeric': 0.08349146110056926, 'fraction_numerical': 0.0018975332068311196, 'mean_word_length': 3.451476793248945, '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': '77622', 'n_tokens_mistral': 317, 'n_tokens_neox': 309, 'n_words': 67}