made the test_xenapi work

This commit is contained in:
Trey Morris
2011-06-15 13:36:16 -05:00
parent 8e94f29c7b
commit b55b4bc097

View File

@@ -579,7 +579,7 @@ class XenAPIVMTestCase(test.TestCase):
vif_rec = xenapi_fake.get_record('VIF', vif_ref)
self.assertEquals(vif_rec['qos_algorithm_type'], 'ratelimit')
self.assertEquals(vif_rec['qos_algorithm_params']['kbps'],
str(4 * 1024))
str(3 * 1024))
def test_rescue(self):
self.flags(xenapi_inject_image=False)