From feb2fc02404775bc262677a2d0434faec0348c53 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 1 Mar 2016 08:32:39 -0500 Subject: [PATCH] test: adjust rbd test case guards to handle new defaults Signed-off-by: Jason Dillaman --- src/test/pybind/test_rbd.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/pybind/test_rbd.py b/src/test/pybind/test_rbd.py index e77a02692030..04a3a3820da9 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 -- 2.47.3