Fix typo in test_gpfs.py
TrivialFix Change-Id: Ia60a1a9d743e4c14592e53775a1fa200885cb569
This commit is contained in:
parent
360be9607e
commit
cc6428cedb
@ -488,7 +488,7 @@ class GPFSShareDriverTestCase(test.TestCase):
|
|||||||
self.assertEqual(result, True)
|
self.assertEqual(result, True)
|
||||||
|
|
||||||
def test__is_dir_failure(self):
|
def test__is_dir_failure(self):
|
||||||
fakeoutput = "regulalr file"
|
fakeoutput = "regular file"
|
||||||
self._driver._gpfs_execute = mock.Mock(return_value=(fakeoutput, ''))
|
self._driver._gpfs_execute = mock.Mock(return_value=(fakeoutput, ''))
|
||||||
result = self._driver._is_dir(self.fakefspath)
|
result = self._driver._is_dir(self.fakefspath)
|
||||||
self._driver._gpfs_execute.assert_called_once_with(
|
self._driver._gpfs_execute.assert_called_once_with(
|
||||||
|
Loading…
Reference in New Issue
Block a user