<s> from test import CollectorTestCase <EOL> from test import get_collector_config <EOL> from test import unittest <EOL> from jcollectd import JCollectdCollector , sanitize_word <EOL> class TestJCollectdCollector ( CollectorTestCase ) : <EOL> def setUp ( self ) : <EOL> config = get_collector_config ( '<STR_LIT>' , { <EOL> } ) <EOL> self . collector = JCollectdCollector ( config , None ) <EOL> def test_import ( self ) : <EOL> self . assertTrue ( JCollectdCollector ) <EOL> def test_sanitize ( self ) : <EOL> self . assertEqual ( sanitize_word ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( sanitize_word ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( sanitize_word ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( sanitize_word ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( sanitize_word ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( sanitize_word ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> unittest . main ( ) </s>
