Skip to content

Commit

Permalink
fixing the indentation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kalash-nexthop committed Jan 28, 2025
1 parent 21f16bf commit b4a6f53
Showing 1 changed file with 36 additions and 38 deletions.
74 changes: 36 additions & 38 deletions tests/bgp_commands_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,7 @@ def test_bgp_summary_no_v6_neigh(
assert result.output == show_error_no_v6_neighbor_single_asic

@pytest.mark.parametrize('setup_single_bgp_instance',
['v4'],
indirect=['setup_single_bgp_instance'])
['v4'], indirect=['setup_single_bgp_instance'])
def test_bgp_summary_raw_missing_peergroup_count(
self,
setup_bgp_commands,
Expand All @@ -506,23 +505,23 @@ def test_bgp_summary_raw_missing_peergroup_count(
"peerMemory": 2048,
"ribCount": 10,
"ribMemory": 1024,
"peers":{
"10.0.0.33":{
"remoteAs":64001,
"version":4,
"msgRcvd":0,
"msgSent":0,
"tableVersion":0,
"outq":0,
"inq":0,
"peerUptime":"never",
"peerUptimeMsec":0,
"prefixReceivedCount":0,
"pfxRcd":0,
"state":"Active",
"connectionsEstablished":0,
"connectionsDropped":0,
"idType":"ipv4"
"peers": {
"10.0.0.33": {
"remoteAs": 64001,
"version": 4,
"msgRcvd": 0,
"msgSent": 0,
"tableVersion": 0,
"outq": 0,
"inq": 0,
"peerUptime": "never",
"peerUptimeMsec": 0,
"prefixReceivedCount": 0,
"pfxRcd": 0,
"state": "Active",
"connectionsEstablished": 0,
"connectionsDropped": 0,
"idType": "ipv4"
}
}
}
Expand All @@ -536,8 +535,7 @@ def test_bgp_summary_raw_missing_peergroup_count(
assert "Peer groups 0, using 0 bytes of memory" in result.output

@pytest.mark.parametrize('setup_single_bgp_instance',
['v6'],
indirect=['setup_single_bgp_instance'])
['v6'], indirect=['setup_single_bgp_instance'])
def test_bgp_summary_raw_missing_peergroup_count_v6(
self,
setup_bgp_commands,
Expand All @@ -559,23 +557,23 @@ def test_bgp_summary_raw_missing_peergroup_count_v6(
"peerMemory": 2048,
"ribCount": 10,
"ribMemory": 1024,
"peers":{
"fc00::42":{
"remoteAs":64001,
"version":4,
"msgRcvd":0,
"msgSent":0,
"tableVersion":0,
"outq":0,
"inq":0,
"peerUptime":"never",
"peerUptimeMsec":0,
"prefixReceivedCount":0,
"pfxRcd":0,
"state":"Active",
"connectionsEstablished":0,
"connectionsDropped":0,
"idType":"ipv6"
"peers": {
"fc00::42": {
"remoteAs": 64001,
"version": 4,
"msgRcvd": 0,
"msgSent": 0,
"tableVersion": 0,
"outq": 0,
"inq": 0,
"peerUptime": "never",
"peerUptimeMsec": 0,
"prefixReceivedCount": 0,
"pfxRcd": 0,
"state": "Active",
"connectionsEstablished": 0,
"connectionsDropped": 0,
"idType": "ipv6"
}
}
}
Expand Down

0 comments on commit b4a6f53

Please sign in to comment.