tests: Fix diskfile tests on systems without EUCLEAN errno
Change-Id: I2bc002f9b46123cc0f6280949e970c7e52303cd9 Signed-off-by: Tim Burke <tim.burke@gmail.com>
This commit is contained in:
1 parent
e60791398b
commit
3a8cdee9b2
1 file changed
+1
-1
@@ -1945,7 +1945,7 @@ class DiskFileManagerMixin(BaseDiskFileTestMixin):
|
||||
self._check_quarantine_suffix(errno.ENODATA)
|
||||
|
||||
def test_get_diskfile_from_hash_fs_corrupt_nested_euclean(self):
|
||||
self._check_quarantine_suffix(errno.EUCLEAN)
|
||||
self._check_quarantine_suffix(utils.EUCLEAN)
|
||||
|
||||
def test_get_diskfile_from_hash_no_dir(self):
|
||||
self.df_mgr.get_dev_path = mock.MagicMock(return_value='/srv/dev/')
|
||||
|
||||
Reference in new issue
Block a user