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

This commit is contained in:
Vitaly Polonetsky 2020-03-03 20:58:09 -08:00
parent 67c9c2a59a
commit 25f59a1592
1 changed files with 4 additions and 0 deletions

View File

@ -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")
}