~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to nova/tests/test_adminapi.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-09 14:24:07 UTC
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: package-import@ubuntu.com-20111209142407-fviz6p5dnictpxsr
Tags: upstream-2012.1~e2~20111208.11721
ImportĀ upstreamĀ versionĀ 2012.1~e2~20111208.11721

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        self.project_id = 'admin'
53
53
        self.context = context.RequestContext(self.user_id,
54
54
                                              self.project_id,
55
 
                                              True)
 
55
                                              is_admin=True)
56
56
 
57
57
        def fake_show(meh, context, id):
58
58
            return {'id': 1, 'properties': {'kernel_id': 1, 'ramdisk_id': 1,