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

« back to all changes in this revision

Viewing changes to nova/tests/test_vsa.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-01-20 11:54:15 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: package-import@ubuntu.com-20120120115415-h2ujma9o536o1ut6
Tags: upstream-2012.1~e3~20120120.12170
ImportĀ upstreamĀ versionĀ 2012.1~e3~20120120.12170

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
import stubout
18
18
 
19
19
from xml.etree import ElementTree
20
 
from xml.etree.ElementTree import Element, SubElement
21
20
 
22
21
from nova import context
23
 
from nova import db
24
22
from nova import exception
25
23
from nova import flags
26
24
from nova import log as logging
27
25
from nova import test
28
26
from nova import vsa
29
 
from nova import volume
30
27
from nova.volume import volume_types
31
28
from nova.vsa import utils as vsa_utils
32
29
 
42
39
        super(VsaTestCase, self).setUp()
43
40
        self.stubs = stubout.StubOutForTesting()
44
41
        self.vsa_api = vsa.API()
45
 
        self.volume_api = volume.API()
46
42
 
47
43
        FLAGS.quota_volumes = 100
48
44
        FLAGS.quota_gigabytes = 10000