TestMultiprocPubSub - skip tests with testtools skip_test of self.skip

Bug #1718101 reported by Omer Anson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
Low
Unassigned

Bug Description

TestMultiprocPubSub - skip tests with testtools skip_test or self.skip

Currently tests are skipped manually with: if not self.do_test: return. This makes the test 'pass'.

By using testtools.skip or self.skipTest, the test is marked as 'skipped' which is more accurate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/530574
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=72ed8507131a2619f357dfde384a6f36745d4e30
Submitter: Zuul
Branch: master

commit 72ed8507131a2619f357dfde384a6f36745d4e30
Author: Omer Anson <email address hidden>
Date: Sun Dec 31 10:46:19 2017 +0200

    Skip tests in TestMultiprocPubSub with self.skipTest

    Currently tests are skipped manually with: if not self.do_test:
    return. This makes the test 'pass'.

    By using testtools.skip or self.skipTest, the test is marked as 'skipped'
    which is more accurate.

    Change-Id: I99e2fa0dbb0cfdcda6b3f686abee2e9e5441c7f9
    Closes-Bug: #1718101

Changed in dragonflow:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.