pytest-testinfra
pytest-testinfra copied to clipboard
host.interface.default does not work consistently
Looks like it expects the interface name to be at the end of ip route ls line.
So it works for something like: default via 172.17.0.1 dev eth0 but not default via 10.101.1.1 dev ens3 proto dhcp src 10.101.1.33 metric 100.
I have fixed with a regex in #651
@philpep: Please close this ticket as the issue has already been resolved with MR #651.