Skip to content

Commit

Permalink
fix lines
Browse files Browse the repository at this point in the history
Signed-off-by: Vaibhav Dahiya <[email protected]>
  • Loading branch information
vdahiya12 committed Jan 21, 2025
1 parent fd94f6a commit 33f92e0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tests/interfaces_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,10 @@

intf_flap_expected_output_with_data = """\
Interface Flap Count Admin Oper Link Down TimeStamp (UTC) Link Up TimeStamp (UTC)
----------- ------------ ------- ------ --------------------------------------- --------------------------------------
Ethernet0 3 Up Down Last flapped : Sat Jan 17 00:04:42 2025 Last Link up: Sat Jan 18 00:08:42 2025
----------- ------------ ------- ------ --------------------------------------- -----------------------
---------------
Ethernet0 3 Up Down Last flapped : Sat Jan 17 00:04:42 2025 Last Link up: Sat Jan 1
8 00:08:42 2025
"""

intf_flap_expected_output_with_data_concise = """\
Expand All @@ -277,8 +279,10 @@

intf_flap_expected_output_all_data = """\
Interface Flap Count Admin Oper Link Down TimeStamp (UTC) Link Up TimeStamp (UTC)
----------- ------------ ------- ------- --------------------------------------- --------------------------------------
Ethernet0 3 Up Down Last flapped : Sat Jan 17 00:04:42 2025 Last Link up: Sat Jan 18 00:08:42 2025
----------- ------------ ------- ------- --------------------------------------- -----------------------
---------------
Ethernet0 3 Up Down Last flapped : Sat Jan 17 00:04:42 2025 Last Link up: Sat Jan 1
8 00:08:42 2025
Ethernet100 Never Unknown Unknown Never Never
Ethernet104 Never Unknown Unknown Never Never
Ethernet108 Never Unknown Unknown Never Never
Expand Down Expand Up @@ -582,7 +586,7 @@ def test_show_intf_flap_with_all_portts_data(self):
print(result.output)
assert result.exit_code == 0
assert result.output.strip() == intf_flap_expected_output_all_data

@classmethod
def teardown_class(cls):
print("TEARDOWN")

0 comments on commit 33f92e0

Please sign in to comment.