~0x44/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/tests/api/openstack/fakes.py

  • Committer: Brian Waldon
  • Date: 2011-09-12 21:52:29 UTC
  • mfrom: (1558 nova)
  • mto: This revision was merged to the branch mainline in revision 1561.
  • Revision ID: brian.waldon@rackspace.com-20110912215229-5xab1wvvd11rft6g
merging trunk; resolving conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
    # Snapshot for User 1
198
198
    server_ref = 'http://localhost/v1.1/servers/42'
199
199
    snapshot_properties = {'instance_ref': server_ref, 'user_id': 'fake'}
200
 
    for status in ('queued', 'saving', 'active', 'killed'):
 
200
    for status in ('queued', 'saving', 'active', 'killed',
 
201
                   'deleted', 'pending_delete'):
201
202
        add_fixture(id=image_id, name='%s snapshot' % status,
202
203
                    is_public=False, status=status,
203
204
                    properties=snapshot_properties)