← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1989254] [NEW] Neutron-dynamic-routing: misuse of assertTrue

 

Public bug reported:

There is a misuse of assertTrue in the neutron-dynamic-routing master
(commit ddac34b3845a261d7c12cc37bf053948f6a3cfb9).

neutron_dynamic_routing/tests/unit/db/test_bgp_dragentscheduler_db.py:83-84

            self.assertTrue(bgp_speaker_id,
                            res['bgp_speakers'][0]['id'])

** Affects: neutron
     Importance: Undecided
     Assignee: Takashi Natsume (natsume-takashi)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Takashi Natsume (natsume-takashi)

** Description changed:

  There is a misuse of assertTrue in the neutron-dynamic-routing master
- ().
+ (commit ddac34b3845a261d7c12cc37bf053948f6a3cfb9).
  
  neutron_dynamic_routing/tests/unit/db/test_bgp_dragentscheduler_db.py:83-84
  
-             self.assertTrue(bgp_speaker_id,
-                             res['bgp_speakers'][0]['id'])
+             self.assertTrue(bgp_speaker_id,
+                             res['bgp_speakers'][0]['id'])

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

Title:
  Neutron-dynamic-routing: misuse of assertTrue

Status in neutron:
  In Progress

Bug description:
  There is a misuse of assertTrue in the neutron-dynamic-routing master
  (commit ddac34b3845a261d7c12cc37bf053948f6a3cfb9).

  neutron_dynamic_routing/tests/unit/db/test_bgp_dragentscheduler_db.py:83-84

              self.assertTrue(bgp_speaker_id,
                              res['bgp_speakers'][0]['id'])

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



Follow ups