def _get_to_protocol(self):

        if not self._to_protocol_loaded:
            if isinstance(self._to_protocol, basestring):
                self._to_protocol = import_symbol(self._to_protocol)

            self._to_protocol_loaded = True

        return self._to_protocol
Tests that correct config file paths are returned when there's no
dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_offer.py/AdaptationOffer._get_to_protocol--crossover with--dataset/ETHPy150Open coursera/dataduct/dataduct/config/tests/test_config.py/TestConfig.test_get_config_files_no_enviroment_variable