Merge pull request #703 from ksowmya/disablestorage_pep8 Disablestorage pep8CLOUDSTACK-8738: Added Maintenance mode related fixes into base.py for test_disablestoragepool. Also fixed pep8 issues in script, most of them for E501 (long lines) with max-line-length set to default
Test Result: Test Steps: ... === TestName: test_01_disable_enable_pool_1_host | Status : SUCCESS === ok Test Steps: ... === TestName: test_01_disable_enable_pool_2_CLUSTER | Status : SUCCESS === ok Test Steps: ... SKIP: No ZONE storage pools found Test Steps: ... === TestName: test_02_vm_operations_on_disabled_pool_1_host | Status : SUCCESS === ok Test Steps: ... === TestName: test_02_vm_operations_on_disabled_pool_2_CLUSTER | Status : SUCCESS === ok Test Steps: ... SKIP: No ZONE wide storage pools found Test Steps: ... === TestName: test_01_cross_cluster_attach_disk | Status : SUCCESS === ok * pr/703: Fixed pep8 issues CLOUDSTACK-8738: Added the two methods for enable and cancel maintenance mode on StoragePool Signed-off-by: Remi Bergsma <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/43255742 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/43255742 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/43255742 Branch: refs/heads/master Commit: 4325574270c26eaae78860a0e4229d8edcf34d23 Parents: 29f9e1d 8bd1ca1 Author: Remi Bergsma <[email protected]> Authored: Tue Aug 18 16:37:02 2015 +0200 Committer: Remi Bergsma <[email protected]> Committed: Tue Aug 18 16:37:02 2015 +0200 ---------------------------------------------------------------------- .../maint/testpath_disablestoragepool.py | 1023 ++++++++++++------ tools/marvin/marvin/lib/base.py | 16 + 2 files changed, 690 insertions(+), 349 deletions(-) ----------------------------------------------------------------------
