<commit_before>#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4

import unittest
from harness import MockRouter

class TestLog(unittest.TestCase):
    def test_backend_irc (self):
        router = MockRouter()
        try:
            import irclib
            from rapidsms.backends.irc import Backend
            backend = Backend("irc", router)
            backend.configure(host="localhost",nick="test",channels="#test1,#test2")
            self.assertEquals(type(backend), Backend, "IRC backend loads")<commit_msg>Rename test class (sloppy cut n' paste job)<commit_after>#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4

import unittest
from harness import MockRouter

class TestBackendIRC(unittest.TestCase):
    def test_backend_irc (self):
        router = MockRouter()
        try:
            import irclib
            from rapidsms.backends.irc import Backend
            backend = Backend("irc", router)
            backend.configure(host="localhost",nick="test",channels="#test1,#test2")
            self.assertEquals(type(backend), Backend, "IRC backend loads")
{'fraction_non_alphanumeric': 0.1102873030583874, 'fraction_numerical': 0.009267840593141797, 'mean_word_length': 3.0601503759398496, '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': '4877116', 'n_tokens_mistral': 326, 'n_tokens_neox': 312, 'n_words': 80}