2020-07-13 17:37:43 +02:00
|
|
|
package config
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
2020-07-21 12:18:53 +02:00
|
|
|
func TestConfig_DarktablePresets(t *testing.T) {
|
2020-07-13 20:25:47 +02:00
|
|
|
c := NewConfig(CliTestContext())
|
|
|
|
|
2020-07-21 12:18:53 +02:00
|
|
|
assert.False(t, c.DarktablePresets())
|
2020-07-13 17:37:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func TestConfig_Darktablebin(t *testing.T) {
|
2020-07-13 20:25:47 +02:00
|
|
|
c := NewConfig(CliTestContext())
|
|
|
|
|
2020-07-13 17:37:43 +02:00
|
|
|
assert.Equal(t, "/usr/bin/darktable-cli", c.DarktableBin())
|
|
|
|
}
|