Add a simple test for the call to remove all floppy controllers
This commit is contained in:
parent
67c9c2a59a
commit
25f59a1592
|
@ -38,6 +38,10 @@ func TestStepAttachFloppy(t *testing.T) {
|
|||
t.Fatal("should NOT have error")
|
||||
}
|
||||
|
||||
if driver.RemoveFloppyControllersVM == "" {
|
||||
t.Fatal("RemoveFloppyControllers was not called")
|
||||
}
|
||||
|
||||
if len(driver.VBoxManageCalls) != 2 {
|
||||
t.Fatal("not enough calls to VBoxManage")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue