

def test_env_presets(self):
    ' Load presets from env\n\n        '
    loaded_presets = presets.get_presets_from_env()
    self.assert_((len(loaded_presets) > 0), 'No preset loaded. Default presets should at least have been detected')
    preset = loaded_presets.values()[0]
    curve_to_lut('sRGB', None, outlutfile=self.tmp_dir, preset=preset)

dataset/ETHPy150Open mikrosimage/ColorPipe-tools/test/preset_test.py GeneralTest.test_env_presets/original