From f52776ba615000cf535fb57368460e4f31c14305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Tue, 24 Jul 2012 00:14:11 +0100 Subject: [PATCH] tests: remove misleading docstrings on libvirt tests These docstrings take precedence over the method name, to identify the test in the results. So just remove these misleading docstrings as they don't give extra info over the method name itself. Change-Id: I4c415f8c4be588f5de751ab8e4d21e85a18f6b75 --- nova/tests/test_libvirt.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index f93c724b..77e4c607 100644 --- a/nova/tests/test_libvirt.py +++ b/nova/tests/test_libvirt.py @@ -1732,7 +1732,6 @@ class LibvirtConnTestCase(test.TestCase): db.instance_destroy(self.context, instance_ref['uuid']) def test_pre_live_migration_works_correctly_mocked(self): - """Confirms pre_block_migration works correctly.""" # Creating testdata vol = {'block_device_mapping': [ {'connection_info': 'dummy', 'mount_device': '/dev/sda'}, @@ -1764,7 +1763,6 @@ class LibvirtConnTestCase(test.TestCase): self.assertEqual(result, None) def test_pre_block_migration_works_correctly(self): - """Confirms pre_block_migration works correctly.""" # Replace instances_path since this testcase creates tmpfile with utils.tempdir() as tmpdir: self.flags(instances_path=tmpdir) @@ -1788,7 +1786,6 @@ class LibvirtConnTestCase(test.TestCase): db.instance_destroy(self.context, instance_ref['uuid']) def test_get_instance_disk_info_works_correctly(self): - """Confirms pre_block_migration works correctly.""" # Test data instance_ref = db.instance_create(self.context, self.test_instance) dummyxml = ("instance-0000000a"