mirror of
https://github.com/containers/podman.git
synced 2025-11-01 10:45:52 +08:00
Fix machine tests
Catch up with regressions that have occurred since the tests were originally written. Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@ -130,7 +130,7 @@ var _ = Describe("podman machine list", func() {
|
||||
// --format json
|
||||
list2 := new(listMachine)
|
||||
list2 = list2.withFormat("json")
|
||||
listSession2, err := mb.setName("foo1").setCmd(list2).run()
|
||||
listSession2, err := mb.setCmd(list2).run()
|
||||
Expect(err).To(BeNil())
|
||||
Expect(listSession2).To(Exit(0))
|
||||
|
||||
@ -145,7 +145,6 @@ var _ = Describe("podman machine list", func() {
|
||||
Expect(listSession3).To(Exit(0))
|
||||
listNames3 := listSession3.outputToStringSlice()
|
||||
Expect(listNames3).To(HaveLen(2))
|
||||
Expect(listNames3).To(ContainSubstring("NAME"))
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user