← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1603712] Re: Misuse of assertTrue in L3 DVR test case

 

Reviewed:  https://review.openstack.org/343248
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=adbcdeb975b8a1c51a96a20c5fa2e511bcc07e48
Submitter: Jenkins
Branch:    master

commit adbcdeb975b8a1c51a96a20c5fa2e511bcc07e48
Author: Takashi NATSUME <natsume.takashi@xxxxxxxxxxxxx>
Date:   Sun Jul 17 10:13:37 2016 +0900

    Fix misuse of assertTrue in L3 DVR test case
    
    Replace assertTrue with assertEqual in a private method
    for unit tests.
    
    Change-Id: I15fedf067f01c3993830b8c38b521d0dfd0c7740
    Closes-Bug: #1603712


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1603712

Title:
  Misuse of assertTrue in L3 DVR test case

Status in neutron:
  Fix Released

Bug description:
  AssertEqual should be used instead of assertTrue in the following
  unitetests.

  _test_update_arp_entry_for_dvr_service_port method of
  classL3DvrTestCase in neutron/tests/unit/db/test_l3_dvr_db.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1603712/+subscriptions


References