The v2 task module is not fully covered with tests

Bug #1433637 reported by Kamil Rykowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Low
Kamil Rykowski

Bug Description

The v2 task module is missing some important unittests which can lead in the future to regression. Most of them are about listing tasks using marker & sorting keys.

Tags: testing
Changed in python-glanceclient:
assignee: nobody → Kamil Rykowski (kamil-rykowski)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

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

Revision history for this message
Kamil Rykowski (kamil-rykowski) wrote :

During preparing new test cases I've found a bug in v2/tasks.py which fails for python 3.4. I've included the fix in the proposed patch.

tags: added: testing
Changed in python-glanceclient:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/165436
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=d9d586942bf3f78ba174eb5832f60d80a7c839ca
Submitter: Jenkins
Branch: master

commit d9d586942bf3f78ba174eb5832f60d80a7c839ca
Author: Kamil Rykowski <email address hidden>
Date: Wed Mar 18 15:45:08 2015 +0100

    Extend unittests coverage for v2 tasks module

    Add new tests for v2 tasks module to cover following cases:
    - getting list of tasks using the marker
    - getting list of tasks using sort_key & sort_dir keys

    Change-Id: Ic126999ebb16e51cc472fe8f86dfe1fced0bc016
    Closes-Bug: 1433637

Changed in python-glanceclient:
status: In Progress → Fix Committed
Changed in python-glanceclient:
milestone: none → 1.0.0
status: Fix Committed → Fix Released
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.