← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1200141] Re: timeutils.utcnow() should be used throughout the code instead of datetime.datetime.utcnow()

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1200141

Title:
  timeutils.utcnow() should be used throughout the code instead of
  datetime.datetime.utcnow()

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  timeutils.utcnow() should be used instead of direct calls to
  datetime.datetime.utcnow() to make it easy to override its return
  value in tests.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1200141/+subscriptions