setUp and tearDown require nosetests 0.11, but 0.10.4 is the latest on
centos. Rename to use the older aliases, which still work with newer
versions of nosetests as well.
Fixes: #6368
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
IMG_SIZE = 8 << 20 # 8 MiB
IMG_ORDER = 22 # 4 MiB objects
-def setUp():
+def setup_module():
global rados
rados = Rados(conffile='')
rados.connect()
if features is not None:
features = int(features)
-def tearDown():
+def teardown_module():
global ioctx
ioctx.__del__()
global rados