Mehdi Abaakouk 3deb7397ba Use timeutils.utcnow in alarm threshold evaluation
This change use timeutils.utcnow() in alarm threshold evaluation
instead of datetime.utcnow() to allow mock the the now datetime

It also add a test to check the behavior of bound_duration method.

Change-Id: I970e63da33e17018ed4fef31d0082803f6e0fb29
2013-08-23 11:11:32 +02:00
..
2013-08-22 10:06:24 +02:00
2013-08-02 16:48:54 +08:00
2013-08-16 13:22:03 +08:00
2012-07-27 10:34:36 -04:00
2012-10-26 16:37:23 +02:00