photoprism/internal/config/darktable_test.go

19 lines
346 B
Go
Raw Normal View History

package config
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestConfig_DarktablePresets(t *testing.T) {
c := NewConfig(CliTestContext())
assert.False(t, c.DarktablePresets())
}
func TestConfig_Darktablebin(t *testing.T) {
c := NewConfig(CliTestContext())
assert.Equal(t, "/usr/bin/darktable-cli", c.DarktableBin())
}