Hacking checking for ensuring negative test attribute applied

Bug #1781044 reported by Felipe Monteiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Felipe Monteiro

Bug Description

Add a hacking check for ensuring that all classes that contain substring
"Negative" have the negative attribute decorator applied above each test.

Background discussion: https://review.openstack.org/#/c/581182/1/HACKING.rst

Felipe Monteiro (fm577c)
Changed in tempest:
assignee: nobody → Felipe Monteiro (fm577c)
Changed in tempest:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/583451
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=4d011af928eac40ebe8fafafa6bb77a0874b66d6
Submitter: Zuul
Branch: master

commit 4d011af928eac40ebe8fafafa6bb77a0874b66d6
Author: Felipe Monteiro <email address hidden>
Date: Wed Jul 18 00:11:48 2018 -0400

    Hacking checks for negative test cases

    This patchset adds 2 hacking checks for making sure negative
    tests have correct conventions applied.

    * T117: Check that each negative test has the
      ``@decorators.attr(type=['negative'])`` applied

    This patch set adds both hacking checks, adds unit tests
    and updates HACKING.rst documentation with both new checks.

    Closes-Bug: 1781044
    Change-Id: I46df351187d22090861150c84fa0a0c1054ae3d6

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
anny (annymai) wrote :

Thanks for testing. It really does not work on a freshly installed Artful, because the mechanism was only allowing root and not applied while running. I changed that and tested it on a freshly installed.
<a href="https://www.printererrorrepair.com/hp-printer-support-phone-number/">Hp Printer Support Phone Number</a>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tempest 19.0.0

This issue was fixed in the openstack/tempest 19.0.0 release.

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.