def test_vm_diskstats(self):
        with patch.object(xapi, "_get_xapi_session", MagicMock()):
            self.assertDictEqual(xapi.vm_diskstats(""), {})
Force all buffered modifications to be written to disk.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/xapi_test.py/XapiTestCase.test_vm_diskstats--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/HDFStore.flush