Misuse of assertTrue in unit tests

Bug #1664446 reported by Takashi Natsume
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Takashi Natsume
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/433454

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/433454
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5b49f4dfd288b02fd2b361dcc29f4a83f1468d3a
Submitter: Jenkins
Branch: master

commit 5b49f4dfd288b02fd2b361dcc29f4a83f1468d3a
Author: Takashi NATSUME <email address hidden>
Date: Tue Feb 14 14:23:46 2017 +0900

    Fix misuse of assertTrue

    Fix misuse of assertTrue in the following files.

    * nova/tests/unit/api/openstack/compute/test_hypervisors.py
    * nova/tests/unit/objects/test_instance_device_metadata.py
    * nova/tests/unit/scheduler/client/test_report.py

    Change-Id: I5dd869ddec53cf0b9d27d99cb01d780e361a5810
    Closes-Bug: #1664446

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/434061

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/ocata)

Reviewed: https://review.openstack.org/434061
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8bb80d15787c0fefd35f8bb7a4730e017c154b0d
Submitter: Jenkins
Branch: stable/ocata

commit 8bb80d15787c0fefd35f8bb7a4730e017c154b0d
Author: Takashi NATSUME <email address hidden>
Date: Tue Feb 14 14:23:46 2017 +0900

    Fix misuse of assertTrue

    Fix misuse of assertTrue in the following files.

    * nova/tests/unit/api/openstack/compute/test_hypervisors.py
    * nova/tests/unit/objects/test_instance_device_metadata.py
    * nova/tests/unit/scheduler/client/test_report.py

    Change-Id: I5dd869ddec53cf0b9d27d99cb01d780e361a5810
    Closes-Bug: #1664446
    (cherry-picked from commit 5b49f4dfd288b02fd2b361dcc29f4a83f1468d3a)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 15.0.1

This issue was fixed in the openstack/nova 15.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 16.0.0.0b1

This issue was fixed in the openstack/nova 16.0.0.0b1 development milestone.

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.