python-novaclient/novaclient
Takashi NATSUME e044b911c2 Fix AttributeError in getting a resource ID
In the 'wait_for_resource_delete' method of the 'ClientTestBase' class,
the following statement is executed when timeout.

  self.fail("The resource '%s' still exists." % resource.id)

The 'resource' variable is passed in the argument of
the 'wait_for_resource_delete' method.
It is sometimes a string which is a resource ID.

When it is a string (a resource ID), AttributeError is raised
at the statement.
This patch fixes the issue.

Change-Id: I558026de54a5cc75359225b50054934a220f3e5c
Closes-Bug: #1704132
2018-04-03 23:59:22 +00:00
..
tests Fix AttributeError in getting a resource ID 2018-04-03 23:59:22 +00:00
v2 Fix the docstring for the update method 2018-02-19 15:32:53 +03:00
__init__.py Add support for microversion 2.60 - volume multiattach 2018-01-22 18:26:21 -05:00
api_versions.py Fix a comment in novaclient/api_versions.py 2018-02-22 16:30:11 +09:00
base.py Clean imports in code 2018-02-21 16:09:51 +07:00
client.py Fix setting 'global_request_id' in SessionClient 2017-06-13 12:15:39 -04:00
crypto.py Corrects typos "coearse," "proejct," and "unecrypts" 2014-09-18 15:24:54 -07:00
exceptions.py Add support for the 2.57 microversion 2018-01-15 14:42:53 +08:00
extension.py Cleanup needless code from oslo-incubator 2015-12-18 08:46:12 +00:00
i18n.py Update URLs in docs, comments and setup.cfg 2017-07-28 12:14:12 +09:00
shell.py Remove SecretsHelper 2017-11-16 12:45:51 -05:00
utils.py Remove 2 redundant methods 2018-02-09 15:26:08 +00:00