masakari/masakari
Yukinori Sagara b71530559f Fix test method which has incorrect reference
test_add_host_to_aggregate is a test method to confirm the behavior of
masakari.compute.nova.API#add_host_to_aggregate method.

In this test method, add_host_to_aggregate method should be called with
'mock_aggregate' object, but as for now, it is called with
'mock_aggregates' object. In addition, add_host method in novaclient is
called with 'mock_aggregates.id'. This is wrong reference.

This patch fix that wrong reference in test_add_host_to_aggregate
method.

TrivialFix

Change-Id: I36b4ddad9286159ae752a2e482a82d4830a33a82
2017-03-05 12:41:42 +09:00
..
api Boolean filters are not working for host list api 2017-02-14 12:44:05 +05:30
cmd Add RPC layer for masakari 2016-10-07 13:16:26 +05:30
common Add support for wsgi framework 2016-07-12 13:10:10 +05:30
compute Prevent 404 error when adding reserved_host to aggregate 2017-02-27 17:00:32 +09:00
conf Add reserved_host to failed_host's aggregate 2017-02-16 11:57:40 +05:30
db Add business rules for host and failover_segment 2017-02-01 11:39:45 +05:30
engine Prevent 404 error when adding reserved_host to aggregate 2017-02-27 17:00:32 +09:00
ha Add business rules for host and failover_segment 2017-02-01 11:39:45 +05:30
hacking Use dict.items() and dict.values() as per guidelines 2017-01-16 18:08:15 +05:30
objects Add business rules for host and failover_segment 2017-02-01 11:39:45 +05:30
tests Fix test method which has incorrect reference 2017-03-05 12:41:42 +09:00
__init__.py Add support for wsgi framework 2016-07-12 13:10:10 +05:30
config.py Add RPC layer for masakari 2016-10-07 13:16:26 +05:30
context.py Stop logging unnecessary warning on context create 2017-01-27 11:35:01 +05:30
exception.py Add host_failure workflow for 'reserved_host' recovery_method 2017-02-16 11:33:09 +05:30
i18n.py Add support for wsgi framework 2016-07-12 13:10:10 +05:30
manager.py Add masakari-engine support 2016-10-05 14:53:26 +05:30
policy.py Add support for wsgi framework 2016-07-12 13:10:10 +05:30
rpc.py Set access_policy for messaging's dispatcher 2017-02-09 12:17:15 +05:30
safe_utils.py Add support for wsgi framework 2016-07-12 13:10:10 +05:30
service.py Add RPC layer for masakari 2016-10-07 13:16:26 +05:30
test.py Use dict.items() and dict.values() as per guidelines 2017-01-16 18:08:15 +05:30
utils.py Add host_failure workflow for 'reserved_host' recovery_method 2017-02-16 11:33:09 +05:30
version.py Add masakari-engine support 2016-10-05 14:53:26 +05:30
wsgi.py Use dict.items() and dict.values() as per guidelines 2017-01-16 18:08:15 +05:30