email/notmuch/notmuch_test.go

24 lines
567 B
Go

package notmuch
import (
"testing"
)
func TestUnreadMessageCount(t *testing.T) {
t.Skip("notmuch tests disabled, notmuch CLI isn't present in hermetic env")
nm := NewNotmuch("")
count := nm.UnreadMessageCount()
if count <= 0 {
t.Errorf("Count wasn't enough, expected > 0, got %d\n", count)
}
}
func TestUnreadThreadCount(t *testing.T) {
t.Skip("notmuch tests disabled, notmuch CLI isn't present in hermetic env")
nm := NewNotmuch("")
count := nm.UnreadThreadCount()
if count <= 0 {
t.Errorf("Count wasn't enough, expected > 0, got %d\n", count)
}
}