]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/rook/rook-client-python/rook_client/tests/test_properties.py
import quincy beta 17.1.0
[ceph.git] / ceph / src / pybind / mgr / rook / rook-client-python / rook_client / tests / test_properties.py
index 24ec38f5d95cee5e05b1c18b08348bd4e2b9ca23..0d580e43f573342e2f61551ec00c9f502fe58762 100644 (file)
@@ -2,12 +2,12 @@ from copy import deepcopy
 
 import pytest
 
-from rook_client.ceph import cephfilesystem as cfs
+from rook_client.ceph import cephcluster as cc
 
 
 def test_omit():
-    ec = cfs.ErasureCoded()
+    cv = cc.CephVersion()
     with pytest.raises(AttributeError):
-        ec.codingChunks
+        cv.allowUnsupported
 
-    assert not hasattr(ec, 'codingChunks')
+    assert not hasattr(cv, 'allowUnsupported')