Skip tests according to system capabilities

Bug #1459855 reported by Assaf Muller
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
New
Low
Assaf Muller

Bug Description

Some tests require certain system capabilities. Some tests run sanity checks (Or other arbitrary code) and skip according to the check's results. This happens in the test itself. It'd be convenient to achieve this in a generic way via, for example, a decorator that would wrap a test with a function that would run a sanity check and skip the test if the check fails.

Assaf Muller (amuller)
Changed in neutron:
assignee: nobody → Assaf Muller (amuller)
importance: Undecided → Low
Assaf Muller (amuller)
summary: - Add decorator that skips tests according to a sanity check result
+ Skip tests according to system capabilities
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/186782

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Assaf Muller (<email address hidden>) on branch: master
Review: https://review.openstack.org/186782

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.