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