def setUp(self):
global g_myEnv<EOL>if not g_myEnv:<EOL><INDENT>params = type('<STR_LIT>', (object,), {'<STR_LIT>' : resource_filename("<STR_LIT>", "<STR_LIT>")})<EOL>g_myEnv = MyTestEnvironment(params)<EOL><DEDENT>
Method called to prepare the test fixture. This is called by the
        unittest framework immediately before calling the test method; any exception
        raised by this method will be considered an error rather than a test
        failure. The default implementation does nothing.