Skip to content

Commit

Permalink
tests: fix python3 backported iproute2 vrf check
Browse files Browse the repository at this point in the history
Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
  • Loading branch information
davischw committed Apr 5, 2021
1 parent b04af73 commit 6a93e3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/topotests/lib/topotest.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,7 @@ def iproute2_is_vrf_capable():
["ip", "route", "show", "vrf"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
stdin=subprocess.PIPE,
encoding="utf-8"
stdin=subprocess.PIPE
)
iproute2_err = subp.communicate()[1].splitlines()[0].split()[0]

Expand Down

0 comments on commit 6a93e3d

Please sign in to comment.