def _make_fixture(**kwargs): fixture = { 'name': None, 'properties': {}, 'status': None, 'is_public': None } fixture.update(kwargs) return stubs.FakeImage(fixture)
def _make_fixture(**kwargs): fixture = {'name': None, 'status': "active"} fixture.update(kwargs) return stubs.FakeImage(fixture)