Fix test_instance_get_all_by_host

This test was not testing instance_get_all_by_host,
it was testing _instance_get_all_uuids_by_host,
which is completely redundant with the same test
that comes right after it.

¯\_(ツ)_/¯

Change-Id: Ia0331e3f622f17067bf5900f92b3f8ff2aff966e
Closes-Bug: #1680614
This commit is contained in:
Matt Riedemann 2017-04-06 17:47:11 -04:00
parent 6103ec7c11
commit 1521049dae
1 changed files with 1 additions and 1 deletions

View File

@ -1176,7 +1176,7 @@ class SqlAlchemyDbApiTestCase(DbTestCase):
@sqlalchemy_api.pick_context_manager_reader
def test(context):
return sqlalchemy_api._instance_get_all_uuids_by_host(
return sqlalchemy_api.instance_get_all_by_host(
context, 'host1')
result = test(ctxt)