Example #1
0
 def test_vm_netstats(self):
     '''
         Test to return combined network counters used by the vms
     '''
     with patch.object(xapi, "_get_xapi_session", MagicMock()):
         self.assertDictEqual(xapi.vm_netstats(""), {})
Example #2
0
 def test_vm_netstats(self):
     '''
         Test to return combined network counters used by the vms
     '''
     with patch.object(xapi, "_get_xapi_session", MagicMock()):
         self.assertDictEqual(xapi.vm_netstats(""), {})