<s> import os <EOL> from tempest import config <EOL> from tempest . test_discover import plugins <EOL> from ironic_tempest_plugin import config as project_config <EOL> class IronicTempestPlugin ( plugins . TempestPlugin ) : <EOL> def load_tests ( self ) : <EOL> base_path = os . path . split ( os . path . dirname ( <EOL> os . path . abspath ( __file__ ) ) ) [ <NUM_LIT:0> ] <EOL> test_dir = "<STR_LIT>" <EOL> full_test_dir = os . path . join ( base_path , test_dir ) <EOL> return full_test_dir , base_path <EOL> def register_opts ( self , conf ) : <EOL> config . register_opt_group ( conf , project_config . baremetal_group , <EOL> project_config . BaremetalGroup ) <EOL> def get_opt_lists ( self ) : <EOL> return [ ( project_config . baremetal_group . name , <EOL> project_config . BaremetalGroup ) ] </s>
