Home
last modified time | relevance | path

Searched refs:lzc_exc (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_error_translation.py34 from . import exceptions as lzc_exc unknown
56 raise lzc_exc.PropertyInvalid(name)
58 raise lzc_exc.FilesystemExists(name)
60 raise lzc_exc.ParentNotFound(name)
62 raise lzc_exc.WrongParent(_fs_name(name))
64 raise lzc_exc.PropertyInvalid(name)
74 raise lzc_exc.PropertyInvalid(name)
76 raise lzc_exc.PoolsDiffer(name)
78 raise lzc_exc.FilesystemExists(name)
81 raise lzc_exc.SnapshotNameInvalid(origin)
[all …]
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/
H A Dtest_libzfs_core.py43 from .. import exceptions as lzc_exc unknown
357 with self.assertRaises(lzc_exc.DatasetTypeInvalid):
365 with self.assertRaises(lzc_exc.WrongParent):
373 with self.assertRaises(lzc_exc.WrongParent):
381 with self.assertRaises(lzc_exc.FilesystemExists):
387 with self.assertRaises(lzc_exc.ReadOnlyPool):
393 with self.assertRaises(lzc_exc.ParentNotFound):
400 with self.assertRaises(lzc_exc.ParentNotFound):
408 with self.assertRaises(lzc_exc.PropertyInvalid):
416 with self.assertRaises(lzc_exc.PropertyInvalid):
[all …]