code: def chdir(self,
  	          path,
  	          shutit_pexpect_child=None,
  	          timeout=shutit_global.shutit_global_object.default_timeout,
  	          note=None,
  	          loglevel=logging.DEBUG):
  		
  		shutit_global.shutit_global_object.yield_to_draw()
  		shutit_pexpect_child = shutit_pexpect_child or self.get_current_shutit_pexpect_session().pexpect_child
  		shutit_pexpect_session = self.get_shutit_pexpect_session_from_child(shutit_pexpect_child)
  		return shutit_pexpect_session.chdir(path,timeout=timeout,note=note,loglevel=loglevel)
docs: How to change directory will depend on whether we are in delivery mode bash or docker.
  
  		@param path:          Path to send file to.
  		@param shutit_pexpect_child:         See send()
  		@param timeout:       Timeout on response
  		@param note:          See send()