You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Gaurav Aradhye (JIRA)" <ji...@apache.org> on 2015/04/21 13:10:00 UTC

[jira] [Created] (CLOUDSTACK-8394) Move skip test part from setUpClass to individual test case

Gaurav Aradhye created CLOUDSTACK-8394:
------------------------------------------

             Summary: Move skip test part from setUpClass to individual test case
                 Key: CLOUDSTACK-8394
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8394
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation
    Affects Versions: Future
            Reporter: Gaurav Aradhye
            Assignee: Gaurav Aradhye
             Fix For: Future


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 in setUpClass and read it in setUp() method and skip test case accordingly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)