mirror of https://github.com/docker/compose.git
Removed test checking compose has an error message on default context
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
parent
ec5afcfd4d
commit
a6316a90c7
|
@ -47,23 +47,6 @@ func TestMain(m *testing.M) {
|
||||||
os.Exit(exitCode)
|
os.Exit(exitCode)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestComposeNotImplemented(t *testing.T) {
|
|
||||||
c := NewParallelE2eCLI(t, binDir)
|
|
||||||
res := c.RunDockerCmd("context", "show")
|
|
||||||
res.Assert(t, icmd.Expected{Out: "default"})
|
|
||||||
res = c.RunDockerOrExitError("compose", "up")
|
|
||||||
res.Assert(t, icmd.Expected{
|
|
||||||
ExitCode: 1,
|
|
||||||
Err: `Command "compose up" not available in current context (default)`,
|
|
||||||
})
|
|
||||||
|
|
||||||
res = c.RunDockerOrExitError("compose", "-f", "titi.yaml", "up")
|
|
||||||
res.Assert(t, icmd.Expected{
|
|
||||||
ExitCode: 1,
|
|
||||||
Err: `Command "compose up" not available in current context (default)`,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestContextDefault(t *testing.T) {
|
func TestContextDefault(t *testing.T) {
|
||||||
c := NewParallelE2eCLI(t, binDir)
|
c := NewParallelE2eCLI(t, binDir)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue