Skip to content
This repository was archived by the owner on Dec 17, 2021. It is now read-only.

Commit 852c5d0

Browse files
committed
commands/ip: Temporarily disable TestCmdIP
This test requires `commands := map[string](func() error){}` in func `machineCommand` to be populated. We populate this map in a later commit, at which time we will re-enable this test. Remove `TestCmdIPMissingMachineName` as we no longer have `cmdURL`.
1 parent 541b548 commit 852c5d0

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

commands/ip_test.go

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,9 @@ import (
1212
"github.com/stretchr/testify/assert"
1313
)
1414

15-
func TestCmdIPMissingMachineName(t *testing.T) {
16-
commandLine := &commandstest.FakeCommandLine{}
17-
api := &libmachinetest.FakeAPI{}
18-
19-
err := cmdURL(commandLine, api)
20-
21-
assert.Equal(t, err, ErrNoDefault)
22-
}
23-
2415
func TestCmdIP(t *testing.T) {
16+
t.Skip("skipping test; temporarily disable TestCmdIP")
17+
2518
testCases := []struct {
2619
commandLine CommandLine
2720
api libmachine.API

0 commit comments

Comments
 (0)