Fix test test_openwrt_lan

This commit is contained in:
Albrecht Lohofener
2025-01-09 15:59:50 +01:00
parent c8e190a7f7
commit cdc23c2f61
+1 -1
View File
@@ -269,7 +269,7 @@ def test_openwrt_lan(docker_services, parameter):
case 'veth,nofixedip':
# Get all IPv4 addresses
process = subprocess.run(['sh','-c','ip addr show veth-openwrt0 | grep -oP "(?<=inet\s)\d+(\.\d+){3}"'],
process = subprocess.run(['sh','-c',r'ip addr show veth-openwrt0 | grep -oP "(?<=inet\s)\d+(\.\d+){3}"'],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
universal_newlines=True)