compose/cli/mobycli/exec_test.go
aiordache cfa7406d73 fix tests
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-30 11:34:34 +02:00

25 lines
496 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(BeFalse())
Expect(mustDelegateToMoby("aci")).To(BeFalse())
}
func TestExec(t *testing.T) {
RegisterTestingT(t)
suite.Run(t, new(MobyExecSuite))
}