glance_store/glance_store/tests
kairat_kushaev 9ace679c1d Use cached auth_ref instead of gettin a new one each time
The commit fixes an issue in renewing connections to Swift in case
if a given token is about to expire soon. get_auth_ref() returned
 a new auth_ref each time it was called so the will_expire_soon()
 call was useless since it always returned False. Now the cached
auth_ref property is used instead.
Closes-Bug:#1733502

Change-Id: I6cb53aec6798f965cf2a120d4f676a43bca5046a
2017-11-21 12:14:27 +04:00
..
etc Support V3 authentication with swift 2015-07-22 23:58:30 +00:00
functional Suppress oslo-config DeprecationWarning during functional test 2016-12-27 12:06:57 +00:00
unit Use cached auth_ref instead of gettin a new one each time 2017-11-21 12:14:27 +04:00
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
base.py Replace six.iteritems() with .items() 2017-03-10 01:47:26 +00:00
fakes.py Propagate BadStoreConfiguration to library user 2015-03-28 19:34:15 +01:00
utils.py Switch VMWare Datastore to use Requests 2016-02-24 22:53:15 -08:00