summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/bgp_unnumbered_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/scenario_test/bgp_unnumbered_test.py')
-rw-r--r--test/scenario_test/bgp_unnumbered_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scenario_test/bgp_unnumbered_test.py b/test/scenario_test/bgp_unnumbered_test.py
index 3971c269..42aec3b9 100644
--- a/test/scenario_test/bgp_unnumbered_test.py
+++ b/test/scenario_test/bgp_unnumbered_test.py
@@ -86,7 +86,7 @@ class GoBGPTestBase(unittest.TestCase):
time.sleep(1)
rib = self.g2.get_global_rib(rf='ipv4')
- self.assertTrue(len(rib) == 1)
+ self.assertEqual(len(rib), 1)
if __name__ == '__main__':