summaryrefslogtreecommitdiffstats
path: root/tests/utilsTests.py
Commit message (Collapse)AuthorAgeFilesLines
* fix pep8 errorsv0.1.1Timothy Asir Jeyasingh2014-06-261-1/+1
| | | | | | | | Change-Id: I3121e6b4044e2f0831fe3c862fb12e8bc27cfd3c Signed-off-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com> Reviewed-on: http://review.gluster.org/8160 Tested-by: Timothy Asir <tim.gluster@gmail.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* utils: Added utils method to convert sizeSahina Bose2014-04-281-0/+18
| | | | | | | | | | | | The method converts a value from a given unit to another. Example usage: convertSize (value, 'KB', 'MB) Change-Id: If8e004076493006234be81e656eabde7d3bf9a6a Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/32 Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-by: Nishanth Thomas <nishusemail@gmail.com>
* utils: add xml2dict()Bala.FA2014-04-281-0/+70
| | | | | | | | The method coverts xml object as elementTree to dictionary. Change-Id: Ia7eca3eb52a79979d7d1ee9d4ce1c842cc86e8ed Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/22
* Initial commitv0.1.0Bala.FA2014-04-281-0/+78
Change-Id: Ie8fdd046d111a4a46abe0e162985e833323bfd7d Signed-off-by: Bala.FA <barumuga@redhat.com>