[python-fuelclient] Unit tests for 'release' API (/lib) are missing

Bug #1600672 reported by Vitalii Kulanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Vitalii Kulanov

Bug Description

New fuel2 commands for python-fuelclient (see https://github.com/openstack/python-fuelclient/commit/e8638792e8c416824ee8c2e5f299ba358b4fa4b6) that allow to view and change the list of release repositories do not cover with tests for API (https://github.com/openstack/python-fuelclient/tree/master/fuelclient/tests/unit/v2/lib).

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

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

Changed in fuel:
assignee: nobody → Vitalii Kulanov (vitaliy-t)
status: New → In Progress
Dmitry Klenov (dklenov)
Changed in fuel:
milestone: none → 10.0
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (master)

Reviewed: https://review.openstack.org/340219
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=d6f2d59a10f4ee0ac86dbcd7772262cf661b0192
Submitter: Jenkins
Branch: master

commit d6f2d59a10f4ee0ac86dbcd7772262cf661b0192
Author: tivaliy <email address hidden>
Date: Mon Jul 11 07:33:26 2016 +0300

    Add unit tests for 'release' API

    In Ied9d69b98345318d7a92ca4c7093ac0424599cc3 a new
    fuel2 commands were implemented that allow to view
    and change the list of release repositories. But
    there are no tests for respective release API (/lib).
    This fix adds missing tests.

    Change-Id: Ic78845dbde5cef7ba0463a4f8adaca85069bcf61
    Closes-Bug: 1600672

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/354113

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (stable/mitaka)

Reviewed: https://review.openstack.org/354113
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=02b666940b361d9dd0747d4c44907d407232d022
Submitter: Jenkins
Branch: stable/mitaka

commit 02b666940b361d9dd0747d4c44907d407232d022
Author: tivaliy <email address hidden>
Date: Mon Jul 11 07:33:26 2016 +0300

    Add 'fuel2 release component list' command

    In Nailgun there is an API call for getting JSON data
    of compatible components for release and all plugins
    releated with it (GET /api/v1/releases/<:id>/components/).
    This patch adds new fuel2 command, e.g.:

           fuel2 release component list 1

    This command prints list of components for given Fuel release
    with respective cross-dependencies

    Also contains the following required changes:
     - Ic78845dbde5cef7ba0463a4f8adaca85069bcf61

    DocImpact
    Closes-Bug: 1600501
    Closes-Bug: 1600672

    Change-Id: I4c89a0ca2c606228b9dd35d8c1524bd005f320e7

tags: added: in-stable-mitaka
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.