Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1750F17374 for ; Tue, 21 Apr 2015 11:10:01 +0000 (UTC) Received: (qmail 63566 invoked by uid 500); 21 Apr 2015 11:10:00 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 63439 invoked by uid 500); 21 Apr 2015 11:10:00 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 63329 invoked by uid 500); 21 Apr 2015 11:10:00 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 63304 invoked by uid 99); 21 Apr 2015 11:10:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 11:10:00 +0000 Date: Tue, 21 Apr 2015 11:10:00 +0000 (UTC) From: "Gaurav Aradhye (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-8394) Move skip test part from setUpClass to individual test case MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)