masakari/masakari/tests/unit/compute
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
..
__init__.py Add unit tests for nova support 2016-11-10 17:15:45 +05:30
test_nova.py Fix test method which has incorrect reference 2017-03-05 12:41:42 +09:00