Skip to content

Commit

Permalink
fix test
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 33f92e0 commit 10c3edd
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions tests/interfaces_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,8 @@

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 1
8 00:08:42 2025
----------- ------------ ------- ------ --------------------------------------- --------------------------------------
Ethernet0 3 Up Down Last flapped : Sat Jan 17 00:04:42 2025 Last Link up: Sat Jan 18 00:08:42 2025
"""

intf_flap_expected_output_with_data_concise = """\
Expand All @@ -279,25 +277,17 @@

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 1
8 00:08:42 2025
Ethernet100 Never Unknown Unknown Never Never
Ethernet104 Never Unknown Unknown Never Never
Ethernet108 Never Unknown Unknown Never Never
Ethernet112 Never Up Up Never Never
Ethernet116 Never Up Up Never Never
----------- ------------ ------- ------- --------------------------------------- --------------------------------------
Ethernet0 3 Up Down Last flapped : Sat Jan 17 00:04:42 2025 Last Link up: Sat Jan 18 00:08:42 2025
Ethernet4 Never Unknown Unknown Never Never
Ethernet8 Never Unknown Unknown Never Never
Ethernet12 Never Unknown Unknown Never Never
Ethernet120 Never Up Up Never Never
Ethernet124 Never Up Up Never Never
Ethernet16 7 Up Up Last flapped : Sat Jan 19 00:04:42 2025 Last Link up: Sat Jan 20 00:04:42 2025
Ethernet20 Never Unknown Unknown Never Never
Ethernet24 Never Up Up Never Never
Ethernet28 Never Up Up Never Never
Ethernet32 Never Up Up Never Never
Ethernet36 7 Up Up Never Last Link up: Sat Jan 20 00:04:42 2025
Ethernet4 Never Unknown Unknown Never Never
Ethernet40 Never Unknown Unknown Never Never
Ethernet44 Never Unknown Unknown Never Never
Ethernet48 Never Unknown Unknown Never Never
Expand All @@ -308,12 +298,14 @@
Ethernet68 Never Unknown Unknown Never Never
Ethernet72 Never Unknown Unknown Never Never
Ethernet76 Never Unknown Unknown Never Never
Ethernet8 Never Unknown Unknown Never Never
Ethernet80 Never Unknown Unknown Never Never
Ethernet84 Never Unknown Unknown Never Never
Ethernet88 Never Unknown Unknown Never Never
Ethernet92 Never Unknown Unknown Never Never
Ethernet96 Never Unknown Unknown Never Never
Ethernet100 Never Unknown Unknown Never Never
Ethernet104 Never Unknown Unknown Never Never
Ethernet108 Never Unknown Unknown Never Never
"""

class TestInterfaces(object):
Expand Down

0 comments on commit 10c3edd

Please sign in to comment.