diff options
| author | Y Bharath <y.bharath@samsung.com> | 2024-06-12 13:56:34 +0530 |
|---|---|---|
| committer | Y Bharath <y.bharath@samsung.com> | 2024-06-12 13:56:34 +0530 |
| commit | a63bfb75669780df7ce29201c87db77b83c6f60a (patch) | |
| tree | 90ca6e3876d2775c6855ddfdaa1ec3be0b0b4cf6 /tests/topotests/bgp_aspath_zero/test_bgp_aspath_zero.py | |
| parent | 82dcb1d63e7366ee2b3bd1d6896f64369cbe4d4a (diff) | |
tests: supress unused variables at topotests
For code maintainability, suppressed unused variables with "_"
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Diffstat (limited to 'tests/topotests/bgp_aspath_zero/test_bgp_aspath_zero.py')
| -rw-r--r-- | tests/topotests/bgp_aspath_zero/test_bgp_aspath_zero.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/bgp_aspath_zero/test_bgp_aspath_zero.py b/tests/topotests/bgp_aspath_zero/test_bgp_aspath_zero.py index 0f1a08308f..fe89a87621 100644 --- a/tests/topotests/bgp_aspath_zero/test_bgp_aspath_zero.py +++ b/tests/topotests/bgp_aspath_zero/test_bgp_aspath_zero.py @@ -73,7 +73,7 @@ def test_bgp_aggregator_zero(): return topotest.json_cmp(output, expected) test_func = functools.partial(_bgp_converge) - success, result = topotest.run_and_expect(test_func, None, count=60, wait=0.5) + _, result = topotest.run_and_expect(test_func, None, count=60, wait=0.5) assert result is None, "More than one prefix seen at r1, SHOULD be only one." def _bgp_has_correct_routes_without_asn_0(): @@ -82,7 +82,7 @@ def test_bgp_aggregator_zero(): return topotest.json_cmp(output, expected) test_func = functools.partial(_bgp_has_correct_routes_without_asn_0) - success, result = topotest.run_and_expect(test_func, None, count=60, wait=0.5) + _, result = topotest.run_and_expect(test_func, None, count=60, wait=0.5) assert result is None, "Failed listing 192.168.100.101/32, SHOULD be accepted." |
