Reviewed: https://review.openstack.org/7481 Committed: http://github.com/openstack/keystone/commit/f70505ced12ae7319dedaf75bedb964c7469c6dd Submitter: Jenkins Branch: stable/essex
commit f70505ced12ae7319dedaf75bedb964c7469c6dd Author: Mark McLoughlin <email address hidden> Date: Tue Apr 10 13:35:30 2012 +0100
Fix expired token tests
Fixes bug #983800
The expiration timestamps are expressed in UTC time, so ensure:
1) The timestamp of the token created by the test is UTC time (i.e. utcnow() vs now())
2) The expiration check in the dummy memcache client properly accounts for UTC (i.e. utctimetuple() vs timetuple())
Change-Id: Ie7356456f79ab5a8070a79771bb7d210b1cedd47
Reviewed: https:/ /review. openstack. org/7481 github. com/openstack/ keystone/ commit/ f70505ced12ae73 19dedaf75bedb96 4c7469c6dd
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit f70505ced12ae73 19dedaf75bedb96 4c7469c6dd
Author: Mark McLoughlin <email address hidden>
Date: Tue Apr 10 13:35:30 2012 +0100
Fix expired token tests
Fixes bug #983800
The expiration timestamps are expressed in UTC time, so ensure:
1) The timestamp of the token created by the test is UTC time (i.e.
utcnow() vs now())
2) The expiration check in the dummy memcache client properly
accounts for UTC (i.e. utctimetuple() vs timetuple())
Change-Id: Ie7356456f79ab5 a8070a79771bb7d 210b1cedd47