summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/rook/rook-client-python/rook_client/tests/test_properties.py
blob: 0d580e43f573342e2f61551ec00c9f502fe58762 (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 cephcluster as cc


def test_omit():
    cv = cc.CephVersion()
    with pytest.raises(AttributeError):
        cv.allowUnsupported

    assert not hasattr(cv, 'allowUnsupported')