Fix tests

This commit is contained in:
2023-02-15 13:07:19 +01:00
parent 033598a656
commit 3b38d8042e
3 changed files with 9 additions and 0 deletions

View File

@@ -10,9 +10,14 @@ import (
"testing"
"time"
"github.com/ClusterCockpit/cc-backend/pkg/log"
"github.com/ClusterCockpit/cc-backend/pkg/schema"
)
func init() {
log.Init("info", true)
}
func TestInitEmptyPath(t *testing.T) {
var fsa FsArchive
err := fsa.Init(json.RawMessage("{\"kind\":\"../../test/archive\"}"))