<s> import os <EOL> import sys <EOL> import unittest <EOL> sys . path . insert ( <NUM_LIT:1> , os . path . abspath ( <EOL> os . path . join ( os . path . dirname ( __file__ ) , '<STR_LIT>' ) ) ) <EOL> import utils <EOL> class UtilsTest ( unittest . TestCase ) : <EOL> def testStripSpecialCharacters ( self ) : <EOL> self . assertEquals ( '<STR_LIT>' , utils . strip_special_chars ( '<STR_LIT>' ) ) <EOL> self . assertEquals ( '<STR_LIT>' , <EOL> utils . strip_special_chars ( '<STR_LIT>' ) ) <EOL> self . assertEquals ( '<STR_LIT>' , <EOL> utils . strip_special_chars ( '<STR_LIT>' ) ) <EOL> self . assertEquals ( '<STR_LIT>' , <EOL> utils . strip_special_chars ( '<STR_LIT>' ) ) <EOL> self . assertEquals ( '<STR_LIT>' , <EOL> utils . strip_special_chars ( r'<STR_LIT>' ) ) <EOL> self . assertEquals ( '<STR_LIT>' , <EOL> utils . strip_special_chars ( '<STR_LIT>' ) ) <EOL> def testFilenameBuilder_CompleteParameterSet ( self ) : <EOL> fake_filepath = utils . build_filename ( <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' ) <EOL> expected_filepath = '<STR_LIT>' <EOL> self . assertEquals ( expected_filepath , fake_filepath ) <EOL> def testFilenameBuilder_ParameterSetMissingOptionalValues ( self ) : <EOL> """<STR_LIT>""" <EOL> fake_filepath = utils . build_filename ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> None , None , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' ) <EOL> expected_filepath = '<STR_LIT>' <EOL> self . assertEquals ( expected_filepath , fake_filepath ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
