python-swiftclient/tests/unit
Tim Burke d1e1f8d8d6 Stop lazy importing keystoneclient
There were two basic problems:

  - We'd try to import on every attempt at getting auth, even when we
    already know keystoneclient isn't available.
  - Sometimes devs would hit some crazy import race involving (some
    combination of?) greenthreads and OS threads.

So let's just try the imports *once*, at import time, and have None
sentinels if it fails. Try both versions separately to decouple
failures; this should let us support a wider range of keystoneclient
versions.

Change-Id: I2367310aac74f1b7c5ea0cb1a822a491e4ba8e68
2018-09-07 16:56:13 -07:00
..
__init__.py Add functional tests for python-swiftclient 2014-05-05 11:53:37 +02:00
test_authv1.py Replace 'assertEqual(None, ...)' with 'assertIsNone(...)' 2016-11-18 15:26:14 +08:00
test_command_helpers.py Drop testtools from test-requirements.txt 2016-02-12 09:57:58 -08:00
test_multithreading.py Drop testtools from test-requirements.txt 2016-02-12 09:57:58 -08:00
test_service.py Allow for object uploads > 5GB from stdin. 2018-01-18 04:56:12 +00:00
test_shell.py Stop lazy importing keystoneclient 2018-09-07 16:56:13 -07:00
test_swiftclient.py Stop lazy importing keystoneclient 2018-09-07 16:56:13 -07:00
test_utils.py Add ability to generate a temporary URL with an 2018-07-10 15:23:30 +01:00
utils.py Stop lazy importing keystoneclient 2018-09-07 16:56:13 -07:00