Unit test under tackerclient/tests/unit are not getting executed

Bug #1617157 reported by dharmendra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-tackerclient
Fix Released
Medium
dharmendra

Bug Description

In .testr.conf, OS_TEST_PATH mentioned incorrectly as ./tackerclient/tests/unit/vm
So the test cases which are in units/vm dir is executing but the other test cases in ./tackerclient/tests/unit are not getting executed.

Changed in python-tackerclient:
assignee: nobody → dharmendra (dharmendra-kushwaha)
summary: - Unit test under tackerclient/tests/unit are geting executed
+ Unit test under tackerclient/tests/unit are not geting executed
summary: - Unit test under tackerclient/tests/unit are not geting executed
+ Unit test under tackerclient/tests/unit are not getting executed
Revision history for this message
venkatamahesh (venkatamaheshkotha) wrote :

In this line https://github.com/openstack/python-tackerclient/blob/master/.testr.conf#L2 we have to change ${OS_TEST_PATH:-./tackerclient/tests/unit/vm} as ${OS_TEST_PATH:-./tackerclient/tests/unit}

Thanks
mahesh

Changed in python-tackerclient:
status: New → Triaged
importance: Undecided → Medium
tags: added: low-hanging-fruit
Revision history for this message
dharmendra (dharmendra-kushwaha) wrote :

@venkatamahesh

Yes, But apart from this, it looks, some issues in the testcases which are never executed.
I am looking itno this.

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

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

Changed in python-tackerclient:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tackerclient (master)

Reviewed: https://review.openstack.org/361027
Committed: https://git.openstack.org/cgit/openstack/python-tackerclient/commit/?id=7951ebb39ece64e85d74b6545dfd81e7a309d120
Submitter: Jenkins
Branch: master

commit 7951ebb39ece64e85d74b6545dfd81e7a309d120
Author: dharmendra <email address hidden>
Date: Fri Aug 26 18:19:43 2016 +0900

    Removing test cases for already removed methods

    tackerclient/common/utils.py doeas not contains these methods:
      to_primitive
      loads
      dumps.
    Removing related test cases

    Change-Id: I73035fcd120efc09cd19c94a8fa41671c2b3a7c3
    Partial-Bug: 1617157

Changed in python-tackerclient:
milestone: none → pike-1
Revision history for this message
Trinath Somanchi (trinath-somanchi-m) wrote :

.testr.xonf is fixed in, https://review.openstack.org/#/c/429813/

So if the test-path modification is the only issue, Then this bug is void.

Changed in python-tackerclient:
status: In Progress → Fix Committed
Changed in python-tackerclient:
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.