diff options
author | ShwethaHP <spandura@redhat.com> | 2017-12-11 17:12:33 +0530 |
---|---|---|
committer | ShwethaHP <spandura@redhat.com> | 2017-12-13 03:17:22 +0530 |
commit | fe9a239bf4b3b3569553d18ae33b052679b51357 (patch) | |
tree | 2a6a98120f91c03ca590b925523bf36ec03baf14 /glustolibs-gluster/glustolibs/gluster/heal_libs.py | |
parent | 2aa9168752032c67d3dcc9ec9d824abccc877b2d (diff) |
Modifying gluster_base_class to have static methods for :
1. setup_volume
2. mount_volume
3. setup_volume_and_mount
4. cleanup_volume
5. unmount_volume
6. unmount_and_cleanup_volume
These are added as static methods to give the test developer the
flexibility to call the setup/cleanup's or any other function
from any where in the testclass which inherits GlusterBaseClass
Also, this will remove the need for GlusterVolumeBaseClass and
hence removing the hardcoding of creattion of volume, mouting
in setUpClass of GlusterVolumeBaseClass.
This will also help in writing new baseclasses for example:
Block which can have class funcitons specific to block
and inherit all the functions from GlusterBaseClass
Change-Id: I3f0709af75e5bb242d265d04ada3a747c155211d
Signed-off-by: ShwethaHP <spandura@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/heal_libs.py')
0 files changed, 0 insertions, 0 deletions