GitHub user gauravaradhye opened a pull request: https://github.com/apache/cloudstack/pull/231
CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() Doing the changes for regression test cases. This has already been done for BVTs. Reason: When raise "unittest.SkipTest()" is used in setUpClass, it is reported as exception. Instead skip the test cases through setUpClass to get correct results. Other changes: 1. Fixed pep8 issues 2. Fixed import issues You can merge this pull request into a Git repository by running: $ git pull https://github.com/gauravaradhye/cloudstack 8394 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/231.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #231 ---- commit e971ad0b1d3497f72dc27cfc4510f896ac226459 Author: Gaurav Aradhye <gaurav.arad...@clogeny.com> Date: 2015-04-30T02:14:21Z CLOUDSTACK-8394: Skipping snapshots test cases for HyperV and LXC commit 65f3e38595755e1785f3c5d187bbba83febf1fba Author: Gaurav Aradhye <gaurav.arad...@clogeny.com> Date: 2015-05-06T09:05:39Z CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass() ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---