MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / TestShowAPIVersion

Function TestShowAPIVersion

tests/src/integration/command_test.go:75–80  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

73}
74
75func TestShowAPIVersion(t *testing.T) {
76 stdout, err := wsk.RunCommand("property", "get", "--apiversion")
77 assert.Equal(t, nil, err, "The command property get --apiversion failed to run.")
78 assert.Contains(t, string(stdout), common.PropDisplayAPIVersion,
79 "The output of the command property get --apiversion does not contain "+common.PropDisplayCLIVersion)
80}
81
82// Test case to verify the default namespace _.
83func TestDefaultNamespace(t *testing.T) {

Callers

nothing calls this directly

Calls 1

RunCommandMethod · 0.80

Tested by

no test coverage detected