This change moves the time mocking from using freezegun to
using oslo.utils TimeFixture for the unit test
test_with_passcode_in_previous_windows_extended, which was
occasionally failing with 401 errors due to
the totp creation time not properly be faked with
4 extended windows.
Closes-Bug: #1843464
Change-Id: I3aefd99907fbc2d03538c9814f7279b282715679
(cherry picked from commit 6525203c1af9ecdf7c23af3f25e45f0db9f6fed2)
Reviewed: https:/ /review. opendev. org/728271 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=247227f3f36 7be37db3292ecae 130e3e02f18063
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 247227f3f367be3 7db3292ecae130e 3e02f18063
Author: Gage Hugo <email address hidden>
Date: Tue Sep 24 11:34:37 2019 -0500
Change time faking for totp test
This change moves the time mocking from using freezegun to with_passcode_ in_previous_ windows_ extended, which was
using oslo.utils TimeFixture for the unit test
test_
occasionally failing with 401 errors due to
the totp creation time not properly be faked with
4 extended windows.
Closes-Bug: #1843464
Change-Id: I3aefd99907fbc2 d03538c9814f727 9b282715679 f7c23af3f25e45f 0db9f6fed2)
(cherry picked from commit 6525203c1af9ecd