tool runner: mesh/stream.publish says an event on the calling bundle's own bound stream (A-42)
Builds: design 42 zfs-owns-zfs §25, §24, lead answer A-42
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package runtime
|
||||
|
||||
import (
|
||||
"slices"
|
||||
"testing"
|
||||
|
||||
"git.novox.be/novox/mesh-sdk/go/buscalls"
|
||||
)
|
||||
|
||||
// A-42: mesh/stream.publish is part of the bus-state-calls capability a module's manifest asks for.
|
||||
func TestStreamPublishIsPartOfTheBusStateCallsCapability(t *testing.T) {
|
||||
if !slices.Contains(callFamilies[CapBusStateCalls], buscalls.StreamPublish) {
|
||||
t.Fatal("bus-state-calls does not state mesh/stream.publish")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user