def test_env_presets(self):
        loaded_presets = presets.get_presets_from_env()
        self.assert_(len(loaded_presets) > 0, ("No preset loaded. "
                                               "Default presets should at "
                                               "least have been detected"))
        # try to use the first preset
        preset = loaded_presets.values()[0]
        curve_to_lut('sRGB', None, outlutfile=self.tmp_dir, preset=preset)
Load presets from env
dataset/ETHPy150Open mikrosimage/ColorPipe-tools/test/preset_test.py/GeneralTest.test_env_presets