Param "response" is not used any more in python-senlinclient/senlinclient/tests/unit/v1/test_build_info.py

Bug #1674556 reported by Jeffrey Guan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
Low
Jeffrey Guan

Bug Description

This issue exists on master branch under
python-senlinclient/senlinclient/tests/unit/v1/test_build_info.py

In class TestBuildInfo(fakes.TestClusteringv1), the following map is not used any more:
    response = {"build_info": {
    }}

It was replaced by "fake_bi":
        fake_bi = mock.Mock(
            api={"revision": "1.0"},
            engine={"revision": "1.0"}
        )

So, we can safely delete "response" from the code to keep it clean.

Changed in senlin:
assignee: nobody → Jeffrey Guan (double12gzh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-senlinclient 1.3.0

This issue was fixed in the openstack/python-senlinclient 1.3.0 release.

Qiming Teng (tengqim)
Changed in senlin:
status: New → Fix Released
importance: Undecided → Low
milestone: none → pike-1
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.