summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/rook/rook-client-python/rook_client/tests/test_properties.py
blob: 24ec38f5d95cee5e05b1c18b08348bd4e2b9ca23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from copy import deepcopy

import pytest

from rook_client.ceph import cephfilesystem as cfs


def test_omit():
    ec = cfs.ErasureCoded()
    with pytest.raises(AttributeError):
        ec.codingChunks

    assert not hasattr(ec, 'codingChunks')