Merge "Add functional tests for traits-based scheduling"

This commit is contained in:
Zuul 2018-02-02 05:03:24 +00:00 committed by Gerrit Code Review
commit 29a7843a30

View File

@ -1658,6 +1658,10 @@ class PlacementApiClient(object):
def get(self, url, **kwargs):
return client.APIResponse(self.fixture._fake_get(None, url, **kwargs))
def put(self, url, body, **kwargs):
return client.APIResponse(
self.fixture._fake_put(None, url, body, **kwargs))
class PlacementFixture(fixtures.Fixture):
"""A fixture to placement operations.