Merge "[Bug-Fix]: Remove ability to put incorrect kwargs for an exception"
This commit is contained in:
commit
b1814a732e
@ -47,8 +47,9 @@
|
||||
|
||||
# (Optional) Enables or disables syslog rfc5424 format for logging. If
|
||||
# enabled, prefixes the MSG part of the syslog message with APP-NAME
|
||||
# (RFC5424). The format without the APP-NAME is deprecated in K, and
|
||||
# will be removed in M, along with this option. (boolean value)
|
||||
# (RFC5424). The format without the APP-NAME is deprecated in Kilo,
|
||||
# and will be removed in Mitaka, along with this option. (boolean
|
||||
# value)
|
||||
# This option is deprecated for removal.
|
||||
# Its value may be silently ignored in the future.
|
||||
#use_syslog_rfc_format = true
|
||||
@ -98,9 +99,6 @@
|
||||
# quiet. (boolean value)
|
||||
#rally_debug = false
|
||||
|
||||
# make exception message format errors fatal (boolean value)
|
||||
#fatal_exception_format_errors = false
|
||||
|
||||
# HTTP timeout for any of OpenStack service in seconds (floating point
|
||||
# value)
|
||||
#openstack_client_http_timeout = 180.0
|
||||
|
@ -141,7 +141,7 @@ class NovaNetworkWrapperTestCase(test.TestCase):
|
||||
def get_fip(*args, **kwargs):
|
||||
for i in fip_found:
|
||||
return "fip_id"
|
||||
raise exceptions.GetResourceNotFound
|
||||
raise exceptions.GetResourceNotFound(resource="")
|
||||
wrap._get_floating_ip = mock.Mock(side_effect=get_fip)
|
||||
|
||||
wrap.delete_floating_ip("fip_id")
|
||||
|
Loading…
Reference in New Issue
Block a user