<s> from sahara . plugins . spark import edp_engine as spark_edp <EOL> from sahara . tests . unit . service . edp . spark import base as tests <EOL> class TestSparkPlugin ( tests . TestSpark ) : <EOL> def setUp ( self ) : <EOL> super ( TestSparkPlugin , self ) . setUp ( ) <EOL> self . master_host = "<STR_LIT>" <EOL> self . engine_class = spark_edp . EdpEngine <EOL> self . spark_user = "<STR_LIT>" <EOL> self . spark_submit = ( <EOL> "<STR_LIT>" % <EOL> { "<STR_LIT>" : self . spark_home } ) <EOL> self . master = ( <EOL> "<STR_LIT>" % <EOL> { "<STR_LIT>" : self . master_host , <EOL> "<STR_LIT>" : self . master_port } ) <EOL> self . deploy_mode = "<STR_LIT>" </s>
