Files
mesh-delivery/modules/mesh-delivery-indexer/judge/main_test.go
T

16 lines
433 B
Go

package judge
import (
"os"
"testing"
"git.novox.be/novox/mesh-sdk/go/seatlist/seatlisttest"
)
// TestMain gives the judge the seat list a host reads (ADR 0636 §1): the definitions of the mesh's seats as the contracts
// modules define them, in the form mesh-sdk keeps for its tests. No list is compiled into the judge (ADR 0634 §4).
func TestMain(m *testing.M) {
UseSeatList(seatlisttest.Definitions())
os.Exit(m.Run())
}