python-glanceclient/glanceclient/tests/unit
Stephen Finucane 4dcbc30e31 Compare against 'RequestIdProxy.wrapped'
Due to the 'glanceclient.common.utils.add_req_id_to_object' decorator,
an instance of 'glanceclient.common.utils.RequestIdProxy' is returned
for most calls in glanceclient. If we wish to compare to None, we have
to compare the contents of this wrapper and not the wrapper itself.

Unit tests are updated to highlight this.

Change-Id: I7dadf32d37ac2bda33a92c71d5882e9f23e38a82
Closes-Bug: #1736759
2018-01-02 11:36:02 +00:00
..
v1 py3: Fix encoding and use sys.stdin.buffer 2016-07-25 20:13:08 +05:30
v2 Compare against 'RequestIdProxy.wrapped' 2018-01-02 11:36:02 +00:00
var Fixed TestHTTPSVerifyCert failure messages 2016-01-15 12:21:36 +02:00
__init__.py Move unit tests to standard directory 2015-04-18 17:42:20 +00:00
test_base.py Move old oslo-incubator code out of openstack/common 2016-11-08 11:33:09 +05:30
test_client.py Add parsing the endpoint URL 2015-09-08 20:52:45 +09:00
test_exc.py py3: Fix encoding and use sys.stdin.buffer 2016-07-25 20:13:08 +05:30
test_http.py Merge "Replace six.iteritems() with .items()" 2017-06-28 14:49:38 +00:00
test_progressbar.py Downloading image with --progress fails 2017-05-29 17:56:11 +05:30
test_shell.py Handle formatting of subcommand name in error output 2017-01-11 07:33:34 -06:00
test_ssl.py allow unhandled exceptions to cause test errors 2017-06-26 10:59:29 -04:00
test_utils.py Replace assertTrue(isinstance()) with assertIsInstance() 2017-06-14 11:03:10 +07:00