Skip to content

CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass()#203

Closed
gauravaradhye wants to merge 1 commit into
apache:masterfrom
gauravaradhye:8394
Closed

CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass()#203
gauravaradhye wants to merge 1 commit into
apache:masterfrom
gauravaradhye:8394

Conversation

@gauravaradhye
Copy link
Copy Markdown

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.

@asfgit asfgit closed this in bede34d Apr 28, 2015
@asfbot
Copy link
Copy Markdown

asfbot commented Apr 28, 2015

cloudstack-pull-requests #60 SUCCESS
This pull request looks good

@gauravaradhye gauravaradhye deleted the 8394 branch April 29, 2015 05:49
shwstppr pushed a commit to shapeblue/cloudstack that referenced this pull request Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants