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')