photoprism/pkg/fs/done_test.go

15 lines
228 B
Go
Raw Normal View History

2020-10-19 15:11:27 +02:00
package fs
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestProcessed(t *testing.T) {
t.Run("jpeg", func(t *testing.T) {
assert.True(t, Processed.Processed())
assert.False(t, Found.Processed())
})
}