commit cbcff11b6a206a58093017fb9471d818d484ca34
Author: Matt Riedemann <email address hidden>
Date: Mon Nov 28 16:45:58 2016 -0500
Fix expected_attrs kwarg in server_external_events
The Instance.get_by_uuid method takes an expected_attrs
kwarg which needs to be a list or tuple, not just any old
iterable like a string. Because of how the underlying
Instance object code massages this value, it's not a hard
failure but does mean you don't join the columns you expect
when getting the instance.
This makes it a list and makes sure the stub in the unit
tests is checking for valid values.
Reviewed: https:/ /review. openstack. org/403917 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=cbcff11b6a2 06a58093017fb94 71d818d484ca34
Committed: https:/
Submitter: Jenkins
Branch: master
commit cbcff11b6a206a5 8093017fb9471d8 18d484ca34
Author: Matt Riedemann <email address hidden>
Date: Mon Nov 28 16:45:58 2016 -0500
Fix expected_attrs kwarg in server_ external_ events
The Instance. get_by_ uuid method takes an expected_attrs
kwarg which needs to be a list or tuple, not just any old
iterable like a string. Because of how the underlying
Instance object code massages this value, it's not a hard
failure but does mean you don't join the columns you expect
when getting the instance.
This makes it a list and makes sure the stub in the unit
tests is checking for valid values.
Change-Id: I3ad85f9062b5cb 19962d9e6a7af52 440166def45
Closes-Bug: #1645479