Python Tests are failing on Horizon because of incomplete mocking

Bug #1511109 reported by Rajat Vig
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Rajat Vig
Liberty
Fix Released
High
Matthias Runge

Bug Description

openstack_dashboard.dashboards.project.instances.tests.InstanceTests are failing as the calls to flavor_list are not mocked on Nova.

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

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

Changed in horizon:
assignee: nobody → Rajat Vig (rajatv)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/240044
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=c7b4ca3600addd5aa51435c21c0cbc6de7957b5b
Submitter: Jenkins
Branch: master

commit c7b4ca3600addd5aa51435c21c0cbc6de7957b5b
Author: Rajat Vig <email address hidden>
Date: Wed Oct 28 13:47:49 2015 -0700

    Mock flavor_list method in tests for instances

    nova.flavor_list is not mocked in the tests and
    that is causing test failures in jenkins.

    Closes Bug: #1511109

    Change-Id: I6b9a457e103571d16dc54f94dae86c8d89feb4cb

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

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/241519

Alan Pevec (apevec)
Changed in horizon:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/liberty)

Reviewed: https://review.openstack.org/241519
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=6ef5b90e5446a785d3788b0439d00791f46eed9d
Submitter: Jenkins
Branch: stable/liberty

commit 6ef5b90e5446a785d3788b0439d00791f46eed9d
Author: Rajat Vig <email address hidden>
Date: Wed Oct 28 13:47:49 2015 -0700

    Mock flavor_list method in tests for instances

    nova.flavor_list is not mocked in the tests and
    that is causing test failures in jenkins.

    Closes Bug: #1511109

    Change-Id: I6b9a457e103571d16dc54f94dae86c8d89feb4cb
    (cherry picked from commit c7b4ca3600addd5aa51435c21c0cbc6de7957b5b)

Matthias Runge (mrunge)
Changed in horizon:
milestone: none → mitaka-1
Changed in horizon:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 8.0.1

This issue was fixed in the openstack/horizon 8.0.1 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.