MCPcopy Create free account
hub / github.com/dropbox/dbxcli / TestTeamCommandsSupportStructuredOutput

Function TestTeamCommandsSupportStructuredOutput

cmd/team_json_test.go:376–388  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

374}
375
376func TestTeamCommandsSupportStructuredOutput(t *testing.T) {
377 for _, cmd := range []*cobra.Command{
378 infoCmd,
379 listMembersCmd,
380 listGroupsCmd,
381 addMemberCmd,
382 removeMemberCmd,
383 } {
384 if !commandSupportsStructuredOutput(cmd) {
385 t.Fatalf("%s should support structured output", cmd.CommandPath())
386 }
387 }
388}
389
390func teamTestCmd(t *testing.T, jsonOutput bool) (*cobra.Command, *bytes.Buffer) {
391 t.Helper()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected