def setup_method(self, method):
sparkConf = create_spark_conf().setMaster("<STR_LIT>").setAppName("<STR_LIT>")<EOL>self.sc = get_spark_context(sparkConf)<EOL>init_engine()<EOL>self.resource_path = os.path.join(os.path.split(__file__)[<NUM_LIT:0>], "<STR_LIT>")<EOL>
setup any state tied to the execution of the given method in a
class. setup_method is invoked for every test method of a class.