~gandelman-a/ubuntu/precise/nova/UCA_2012.2.1

« back to all changes in this revision

Viewing changes to nova/tests/test_virt_drivers.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:
167
167
        self.connection.poll_rescued_instances(10)
168
168
 
169
169
    @catch_notimplementederror
170
 
    def test_poll_unconfirmed_resizes(self):
171
 
        self.connection.poll_unconfirmed_resizes(10)
172
 
 
173
 
    @catch_notimplementederror
174
170
    def test_migrate_disk_and_power_off(self):
175
171
        instance_ref, network_info = self._get_running_instance()
176
172
        instance_type_ref = test_utils.get_test_instance_type()
231
227
        result = self.connection.get_volume_connector({'id': 'fake'})
232
228
        self.assertTrue('ip' in result)
233
229
        self.assertTrue('initiator' in result)
 
230
        self.assertTrue('host' in result)
234
231
 
235
232
    @catch_notimplementederror
236
233
    def test_attach_detach_volume(self):
439
436
        else:
440
437
            self.saved_libvirt = None
441
438
 
 
439
        import fake_libvirt_utils
442
440
        import fakelibvirt
443
 
        import fake_libvirt_utils
444
441
 
445
442
        sys.modules['libvirt'] = fakelibvirt
446
443