summaryrefslogtreecommitdiffstats
path: root/openstack/common
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-01-03 12:24:34 -0800
committerDan Smith <danms@us.ibm.com>2013-01-03 12:29:59 -0800
commit0ccb03b37a74943430c2e81a3955a94d2c8136c0 (patch)
tree0d9e5ce4fccdf42871e6f9673c50e0c742adb0f8 /openstack/common
parentfdc74c07d63ff897f42405b6dde0ffa46d6e26c3 (diff)
downloadoslo-0ccb03b37a74943430c2e81a3955a94d2c8136c0.tar.gz
oslo-0ccb03b37a74943430c2e81a3955a94d2c8136c0.tar.xz
oslo-0ccb03b37a74943430c2e81a3955a94d2c8136c0.zip
Fix timezone handling in timeutils tests
The tests for timeutils use some canned datetime values that include timezones, and override the result of utcnow() with the same. This is not correct because the real utcnow() returns naive datetime objects, so tests that assume the contrary are incorrect. This came about because I was unable to satisfy both the oslo unit tests and the nova ones with the same code. That happened because the oslo ones override utcnow() with an invalid result, and the nova tests use the real one. Change-Id: I683818f77ce0d3e3b2f07c0326d7a7196f3346c3
Diffstat (limited to 'openstack/common')
0 files changed, 0 insertions, 0 deletions