MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / MustNewTFromContext

Function MustNewTFromContext

pkg/util/test/test.go:148–152  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

146}
147
148func MustNewTFromContext(ctx context.Context) (*testing.T, *assertions.Assertion) {
149 t := MustTFromContext(ctx)
150 t.Helper()
151 return t, assertions.New(t)
152}
153
154var defaultTestTimeout = (1 << 18) * Delay
155

Callers 15

TestPbaFunction · 0.92
TestProcessDownlinkTaskFunction · 0.92
makeOTAAFlowTestFunction · 0.92
AssertSetDeviceMethod · 0.92
AssertGetDeviceMethod · 0.92

Calls 2

MustTFromContextFunction · 0.85
NewMethod · 0.65

Tested by 15

TestPbaFunction · 0.74
TestProcessDownlinkTaskFunction · 0.74
makeOTAAFlowTestFunction · 0.74
AssertSetDeviceMethod · 0.74
AssertGetDeviceMethod · 0.74