'Test that get_all_bw_conters returns an empty list when
no data returned from Xenserver.  c.f. bug #910045.'

def test_get_all_bw_counters_in_failure_case(self):

    instances = [dict(name='instance-0001', uuid='1-2-3-4-5')]
    self.stubs.Set(vm_utils, 'fetch_bandwidth', self._fake_fetch_bandwidth_mt)
    result = self.conn.get_all_bw_counters(instances)
    self.assertEqual(result, [])
