#NEWLINE# def setup_stage( self , stage = None ) : #NEWLINE# #INDENT# 'Setup the test stage that selects a different set of\n        steps and environment implementations.\n\n        :param stage:   Name of current test stage (as string or None).\n\n        EXAMPLE::\n\n            # -- SETUP DEFAULT TEST STAGE (unnamed):\n            config = Configuration()\n            config.setup_stage()\n            assert config.steps_dir == "steps"\n            assert config.environment_file == "environment.py"\n\n            # -- SETUP PRODUCT TEST STAGE:\n            config.setup_stage("product")\n            assert config.steps_dir == "product_steps"\n            assert config.environment_file == "product_environment.py"\n        ' #NEWLINE# steps_dir = 'steps' #NEWLINE# environment_file = 'environment.py' #NEWLINE# if self : #NEWLINE# #INDENT# prefix = ( stage + '_' ) #NEWLINE# steps_dir = ( prefix + steps_dir ) #NEWLINE# environment_file = ( prefix + environment_file ) #NEWLINE# #UNINDENT# self . steps_dir = steps_dir #NEWLINE# self . environment_file = environment_file