gluster/glusto-tests

Tests fail with ImportError: cannot import name get_subvols

Closed this issue · 2 comments

11:01:12 ImportError while importing test module '/root/glusto-tests/tests/functional/bvt/test_basic.py'.
11:01:12 Hint: make sure your test modules/packages have valid Python names.
11:01:12 Traceback:
11:01:12 functional/bvt/test_basic.py:22: in <module>
11:01:12     from glustolibs.gluster.gluster_base_class import GlusterBaseClass
11:01:12 ../glustolibs-gluster/glustolibs/gluster/gluster_base_class.py:31: in <module>
11:01:12     from glustolibs.gluster.volume_libs import (setup_volume, cleanup_volume,
11:01:12 ../glustolibs-gluster/glustolibs/gluster/volume_libs.py:40: in <module>
11:01:12     from glustolibs.gluster.brick_libs import are_bricks_online, get_all_bricks
11:01:12 ../glustolibs-gluster/glustolibs/gluster/brick_libs.py:23: in <module>
11:01:12     from glustolibs.gluster.volume_libs import (get_subvols, is_tiered_volume,
11:01:12 E   ImportError: cannot import name get_subvols

See: https://ci.centos.org/view/Gluster/job/gluster_glusto/276/console

Fixed in 67d32f7