diff options
| author | termie <github@anarkystic.com> | 2011-03-23 13:39:01 -0700 |
|---|---|---|
| committer | termie <github@anarkystic.com> | 2011-03-23 13:39:01 -0700 |
| commit | 3c0fcc47be08ac4f3d508fd46f3b95036899aaad (patch) | |
| tree | c6bc9be871d48403bad51320dd6a5acd529ccb2d /nova/tests | |
| parent | 6afe9f0576532b90ef2d5891f06b8bd04401db5b (diff) | |
fix utils.execute retries for osx
also some minor misc cleanups
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_volume.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/test_volume.py b/nova/tests/test_volume.py index 5d68ca2ae..d71b75f3f 100644 --- a/nova/tests/test_volume.py +++ b/nova/tests/test_volume.py @@ -356,8 +356,8 @@ class ISCSITestCase(DriverTestCase): tid = db.volume_get_iscsi_target_num(self.context, volume_id_list[0]) self.mox.StubOutWithMock(self.volume.driver, '_execute') self.volume.driver._execute("sudo", "ietadm", "--op", "show", - "--tid=%(tid)d" % locals() - ).AndRaise(exception.ProcessExecutionError()) + "--tid=%(tid)d" % locals()).AndRaise( + exception.ProcessExecutionError()) self.mox.ReplayAll() self.assertRaises(exception.ProcessExecutionError, |
