commit c5346cd70e79d6eb03dae8dadd08e477ba1f3e9c
Author: Thomas Herve <email address hidden>
Date: Thu Jan 8 18:08:38 2015 +0100
Remove mocking of timeutils.utcnow
With the move out of the namespace package of oslo.utils, it seems that
mocking utcnow doesn't work as expected. Fortunately there is a
set_time_override function that can be used to replace time during
tests.
Conflicts: heat/tests/test_watch.py
NOTE(mriedem): This also fixes another instance in test_autoscaling
which is only on stable/juno (not master).
Change-Id: Iac43aac547b602bf1689cd5000307abaacd65fca
Closes-Bug: #1408704
(cherry picked from commit 15c18a7e33e0339074360da3b70d58d914e0766a)
Reviewed: https:/ /review. openstack. org/146570 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=c5346cd70e7 9d6eb03dae8dadd 08e477ba1f3e9c
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit c5346cd70e79d6e b03dae8dadd08e4 77ba1f3e9c
Author: Thomas Herve <email address hidden>
Date: Thu Jan 8 18:08:38 2015 +0100
Remove mocking of timeutils.utcnow
With the move out of the namespace package of oslo.utils, it seems that time_override function that can be used to replace time during
mocking utcnow doesn't work as expected. Fortunately there is a
set_
tests.
Conflicts:
heat/ tests/test_ watch.py
NOTE(mriedem): This also fixes another instance in test_autoscaling
which is only on stable/juno (not master).
Change-Id: Iac43aac547b602 bf1689cd5000307 abaacd65fca 074360da3b70d58 d914e0766a)
Closes-Bug: #1408704
(cherry picked from commit 15c18a7e33e0339