322
322
self.alarms[1].time_constraints = self.alarms[0].time_constraints
323
323
dt = datetime.datetime(2014, 1, 1, 12, 0, 0,
324
324
tzinfo=pytz.timezone('Europe/Ljubljana'))
325
326
with mock.patch('ceilometerclient.client.get_client',
326
327
return_value=self.api_client):
328
328
self.api_client.alarms.get.side_effect = [