Add unit tests to cover the marker/limit/sort_key/sort_dir feature

Bug #1559838 reported by xiexs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-magnumclient
In Progress
Undecided
xiexs

Bug Description

Currently, although the marker/limit/sort_key/sort_dir features have been implemented by magnumclient,
there is no unit tests to cover these features.
So we should some test cases for them:

- BayManager.list
- BayModelManager.list
- ContainerManager.list
- MServiceManager.list
- PodManager.list
- ReplicationControllerManager.list
- ServiceManager.list

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

Reviewed: https://review.openstack.org/295125
Committed: https://git.openstack.org/cgit/openstack/python-magnumclient/commit/?id=c414531fbe3a0fd6a2ef1d0f10af1281d0d0c9f9
Submitter: Jenkins
Branch: master

commit c414531fbe3a0fd6a2ef1d0f10af1281d0d0c9f9
Author: xiexs <email address hidden>
Date: Mon Mar 21 00:10:37 2016 -0400

    Add unit tests for BayManager.list() method

    The BayManager.list() has already supported the pagination
    and sorting features, but there is no unit case to cover
    them. This patch tries to add some tests for them.

    Change-Id: Ib9936e46b7284894be56487828de22bf37762bd3
    Partial-Bug: #1559838

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/295126
Committed: https://git.openstack.org/cgit/openstack/python-magnumclient/commit/?id=87b2a048d755b952eaa5f92a03bd563b642442e8
Submitter: Jenkins
Branch: master

commit 87b2a048d755b952eaa5f92a03bd563b642442e8
Author: xiexs <email address hidden>
Date: Mon Mar 21 01:04:55 2016 -0400

    Add unit tests for BayModelManager.list() method

    The BayModelManager.list() has already supported the pagination
    and sorting features, but there is no unit case to cover
    them. This patch tries to add some tests for them.

    Change-Id: I6486d826c6a7e0d90e8833a9c9a7a6b57a67157c
    Partial-Bug: #1559838

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/295127
Committed: https://git.openstack.org/cgit/openstack/python-magnumclient/commit/?id=c909b127c309f586470689f7a6f345798a30b9ee
Submitter: Jenkins
Branch: master

commit c909b127c309f586470689f7a6f345798a30b9ee
Author: xiexs <email address hidden>
Date: Mon Mar 21 02:17:33 2016 -0400

    Add unit tests for ContainerManager.list() method

    The ContainerManager.list() has already supported the pagination
    and sorting features, but there is no unit case to cover
    them. This patch tries to add some tests for them.

    Change-Id: I8fb6767b64848e1f829aaeffc0f44a4bc3e4966d
    Partial-Bug: #1559838

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/295128
Committed: https://git.openstack.org/cgit/openstack/python-magnumclient/commit/?id=346c2f9f92ca2a0c3e16500ea84dbe6b7d1f3e34
Submitter: Jenkins
Branch: master

commit 346c2f9f92ca2a0c3e16500ea84dbe6b7d1f3e34
Author: xiexs <email address hidden>
Date: Mon Mar 21 03:04:01 2016 -0400

    Add unit tests for MServiceManager.list() method

    The MServiceManager.list() has already supported the pagination
    and sorting features, but there is no unit case to cover
    them. This patch tries to add some tests for them.

    Change-Id: Ia3877ecbf8c066553a3d5e8cb7cb17753471a1bf
    Partial-Bug: #1559838

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.