Add a simple test for the call to remove all floppy controllers

pull/8828/head
Vitaly Polonetsky 6 years ago
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…
Cancel
Save