diff options
| author | Andrew Laski <andrew.laski@rackspace.com> | 2012-09-06 21:21:23 -0400 |
|---|---|---|
| committer | Andrew Laski <andrew.laski@rackspace.com> | 2012-09-07 17:47:24 -0400 |
| commit | ccc0bfb3e636a96c4b165b7657db9edeaa096af9 (patch) | |
| tree | 83449e77aee32fe36bf3456459fc6b36f817f0c4 /nova/tests | |
| parent | 37cc45b8fdaa199b248a7ef5f683d514733b8387 (diff) | |
Set install_requires in setup.py.
Updates setup.py to set install_requires using parse_requirements from
openstack-common. This allows DevStack to install nova requirements, as
currently they are not handled.
Also relaxes the version requirement for lxml to >=2.3,<3. This allows
DevStack to install nova requirements without needing to install lxml
over the installed python-xml system package, currently 2.3.2.
Change-Id: Iccebf9604ba5c6fcacb4c5fa5004f9fcb08944f3
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_libvirt_config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/test_libvirt_config.py b/nova/tests/test_libvirt_config.py index a00d5b572..b0da9f998 100644 --- a/nova/tests/test_libvirt_config.py +++ b/nova/tests/test_libvirt_config.py @@ -366,7 +366,7 @@ class LibvirtConfigGuestDiskTest(LibvirtConfigBaseTest): self.assertXmlEqual(xml, """ <disk type="network" device="disk"> <driver name="qemu" type="qcow2"/> - <source protocol="iscsi" name="foo.bar.com"/> + <source name="foo.bar.com" protocol="iscsi"/> <target bus="ide" dev="/dev/hda"/> </disk>""") @@ -387,7 +387,7 @@ class LibvirtConfigGuestDiskTest(LibvirtConfigBaseTest): self.assertXmlEqual(xml, """ <disk type="network" device="disk"> <driver name="qemu" type="raw"/> - <source protocol="rbd" name="pool/image"/> + <source name="pool/image" protocol="rbd"/> <auth username="foo"> <secret type="ceph" uuid="b38a3f43-4be2-4046-897f-b67c2f5e0147"/> @@ -530,7 +530,7 @@ class LibvirtConfigGuestInterfaceTest(LibvirtConfigBaseTest): <interface type="direct"> <mac address="DE:AD:BE:EF:CA:FE"/> <model type="virtio"/> - <source mode="private" dev="eth0"/> + <source dev="eth0" mode="private"/> <virtualport type="802.1Qbh"/> </interface>""") |
