1
0
mirror of https://github.com/docker/compose-cli.git synced 2026-10-25 06:19:18 +03:00
Files
compose-cli/cli/mobycli/exec_test.go

26 lines
495 B
Go

package mobycli
import (
"testing"
. "github.com/onsi/gomega"
"github.com/stretchr/testify/suite"
"github.com/docker/api/tests/framework"
)
type MobyExecSuite struct {
framework.CliSuite
}
func (sut *MobyExecSuite) TestDelegateContextTypeToMoby() {
Expect(mustDelegateToMoby("moby")).To(BeTrue())
Expect(mustDelegateToMoby("aws")).To(BeTrue())
Expect(mustDelegateToMoby("aci")).To(BeFalse())
}
func TestExec(t *testing.T) {
RegisterTestingT(t)
suite.Run(t, new(MobyExecSuite))
}