~ubuntu-cloud-archive/ubuntu/precise/nova/trunk

« back to all changes in this revision

Viewing changes to nova/tests/api/openstack/compute/contrib/test_accounts.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-05-24 13:12:53 UTC
  • mfrom: (1.1.55)
  • Revision ID: package-import@ubuntu.com-20120524131253-ommql08fg1en06ut
Tags: 2012.2~f1-0ubuntu1
* New upstream release.
* Prepare for quantal:
  - Dropped debian/patches/upstream/0006-Use-project_id-in-ec2.cloud._format_image.patch
  - Dropped debian/patches/upstream/0005-Populate-image-properties-with-project_id-again.patch
  - Dropped debian/patches/upstream/0004-Fixed-bug-962840-added-a-test-case.patch
  - Dropped debian/patches/upstream/0003-Allow-unprivileged-RADOS-users-to-access-rbd-volumes.patch
  - Dropped debian/patches/upstream/0002-Stop-libvirt-test-from-deleting-instances-dir.patch
  - Dropped debian/patches/upstream/0001-fix-bug-where-nova-ignores-glance-host-in-imageref.patch 
  - Dropped debian/patches/0001-fix-useexisting-deprecation-warnings.patch
* debian/control: Add python-keystone as a dependency. (LP: #907197)
* debian/patches/kombu_tests_timeout.patch: Refreshed.
* debian/nova.conf, debian/nova-common.postinst: Convert to new ini
  file configuration
* debian/patches/nova-manage_flagfile_location.patch: Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from lxml import etree
20
20
import webob
21
21
 
22
 
from nova import test
23
22
from nova.api.openstack.compute.contrib import accounts
24
23
from nova.auth import manager as auth_manager
 
24
from nova import test
25
25
from nova.tests.api.openstack import fakes
26
26
 
27
27
 
39
39
        fakes.FakeAuthDatabase.data = {}
40
40
        fakes.stub_out_networking(self.stubs)
41
41
        fakes.stub_out_rate_limiting(self.stubs)
42
 
        fakes.stub_out_auth(self.stubs)
43
42
 
44
43
        fakemgr = fakes.FakeAuthManager()
45
44
        joeuser = auth_manager.User('id1', 'guy1', 'acc1', 'secret1', False)