def test_set_bandwidth(hypervisor): nio = NIO_Null(hypervisor) assert nio.bandwidth == None # no constraint by default nio.set_bandwidth(1000) # bandwidth = 1000 Kb/s assert nio.bandwidth == 1000 nio.delete()