161b36f8a4
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
18 lines
344 B
Go
18 lines
344 B
Go
package config
|
|
|
|
import (
|
|
"github.com/stretchr/testify/assert"
|
|
"testing"
|
|
)
|
|
|
|
func TestConfig_DarktableUnlock(t *testing.T) {
|
|
c := NewConfig(CliTestContext())
|
|
|
|
assert.False(t, c.DarktableUnlock())
|
|
}
|
|
|
|
func TestConfig_Darktablebin(t *testing.T) {
|
|
c := NewConfig(CliTestContext())
|
|
|
|
assert.Equal(t, "/usr/bin/darktable-cli", c.DarktableBin())
|
|
}
|