From 50a0663fb08108f250bb9b82cd02eb1a71117127 Mon Sep 17 00:00:00 2001 From: Jim Rollenhagen Date: Thu, 25 Jan 2018 22:01:29 +0000 Subject: [PATCH] Add functional tests for virt driver get_traits() method Test that starting up a compute node will successfully put traits into the placement engine. Change-Id: Ica5453b3c5418df75cad8505efc37686b57bc6ff --- nova/tests/fixtures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/tests/fixtures.py b/nova/tests/fixtures.py index 7ed2c7412..11a99646e 100644 --- a/nova/tests/fixtures.py +++ b/nova/tests/fixtures.py @@ -1655,8 +1655,8 @@ class PlacementApiClient(object): def __init__(self, placement_fixture): self.fixture = placement_fixture - def get(self, url): - return client.APIResponse(self.fixture._fake_get(None, url)) + def get(self, url, **kwargs): + return client.APIResponse(self.fixture._fake_get(None, url, **kwargs)) class PlacementFixture(fixtures.Fixture):