GitHub user gauravaradhye opened a pull request:
https://github.com/apache/cloudstack/pull/203
CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass()
When the tests are skipped through setUpClass, the statement "raise
unittest.SkipTest()" is used. This is seen as exception in the logs. To avoid
this, alternatively we can set class level variable in setUpClass and read this
variable value in setUp() and skip the test case.
All test cases are run and tested.
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/203.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 #203
----
commit cc52d395727be657c9b96a8c9dca10f3b051ee70
Author: Gaurav Aradhye <[email protected]>
Date: 2015-04-28T06:55:23Z
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 [email protected] or file a JIRA ticket
with INFRA.
---