From: Jason Dillaman Date: Tue, 1 Mar 2016 13:32:39 +0000 (-0500) Subject: test: adjust rbd test case guards to handle new defaults X-Git-Tag: v10.1.0~254^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F7846%2Fhead;p=ceph.git test: adjust rbd test case guards to handle new defaults Signed-off-by: Jason Dillaman --- diff --git a/src/test/pybind/test_rbd.py b/src/test/pybind/test_rbd.py index e77a0269203..04a3a3820da 100644 --- a/src/test/pybind/test_rbd.py +++ b/src/test/pybind/test_rbd.py @@ -37,8 +37,7 @@ def setup_module(): ioctx = rados.open_ioctx(pool_name) global features features = os.getenv("RBD_FEATURES") - if features is not None: - features = int(features) + features = int(features) if features is not None else 61 def teardown_module(): global ioctx