15 lines
316 B
Go
15 lines
316 B
Go
package launch
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.novox.be/novox/mesh-sdk/go/buscalls"
|
|
)
|
|
|
|
// A-42: a launched bundle may ask mesh/stream.publish.
|
|
func TestABundleMayAskStreamPublish(t *testing.T) {
|
|
if !busStateCalls[buscalls.StreamPublish] {
|
|
t.Fatal("mesh/stream.publish is not among the methods a bundle may ask")
|
|
}
|
|
}
|