diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-03-05 18:15:40 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-03-05 18:15:40 +0000 |
| commit | 2badee254b64c8561f61ffff1e594d14bd7a1dee (patch) | |
| tree | 474d58780580d9d4bd59c73188065e81870b22d5 /nova | |
| parent | f31ab49e311b47c031b70de30afd445973d4feff (diff) | |
| parent | 6b49f4e66c738f6fec56bf0d2dffd4673c4707a4 (diff) | |
| download | nova-2badee254b64c8561f61ffff1e594d14bd7a1dee.tar.gz nova-2badee254b64c8561f61ffff1e594d14bd7a1dee.tar.xz nova-2badee254b64c8561f61ffff1e594d14bd7a1dee.zip | |
Merge "Remove unnecessary code in test setUp/tearDown"
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/tests/test_libvirt.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index a48b02f39..9b4225663 100644 --- a/nova/tests/test_libvirt.py +++ b/nova/tests/test_libvirt.py @@ -2042,7 +2042,6 @@ class LibvirtConnectionTestCase(test.TestCase): super(LibvirtConnectionTestCase, self).setUp() self.libvirtconnection = connection.LibvirtConnection(read_only=True) - self.platform = sys.platform self.temp_path = os.path.join(flags.FLAGS.instances_path, 'instance-00000001/', '') @@ -2054,7 +2053,6 @@ class LibvirtConnectionTestCase(test.TestCase): def tearDown(self): super(LibvirtConnectionTestCase, self).tearDown() - sys.platform = self.platform try: shutil.rmtree(flags.FLAGS.instances_path) |
