Fix typo in test_gpfs.py

TrivialFix

Change-Id: Ia60a1a9d743e4c14592e53775a1fa200885cb569
This commit is contained in:
zhangyanxian 2016-09-30 09:10:49 +00:00
parent 360be9607e
commit cc6428cedb

View File

@ -488,7 +488,7 @@ class GPFSShareDriverTestCase(test.TestCase):
self.assertEqual(result, True)
def test__is_dir_failure(self):
fakeoutput = "regulalr file"
fakeoutput = "regular file"
self._driver._gpfs_execute = mock.Mock(return_value=(fakeoutput, ''))
result = self._driver._is_dir(self.fakefspath)
self._driver._gpfs_execute.assert_called_once_with(