From 6977633de1bb6b48f5ba6c95c48c368222e691ad Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Mon, 13 Mar 2017 16:36:50 -0700 Subject: [PATCH] pass code check --- mininet/test/test_walkthrough.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mininet/test/test_walkthrough.py b/mininet/test/test_walkthrough.py index 50447a5..8738537 100755 --- a/mininet/test/test_walkthrough.py +++ b/mininet/test/test_walkthrough.py @@ -95,7 +95,8 @@ class testWalkthrough( unittest.TestCase ): p = pexpect.spawn( 'mn' ) p.expect( self.prompt ) # Third pattern is a local interface beginning with 'eth' or 'en' - interfaces = [ 'h1-eth0', 's1-eth1', '[^-](eth|en)\w*\d', 'lo', self.prompt ] + interfaces = [ 'h1-eth0', 's1-eth1', r'[^-](eth|en)\w*\d', 'lo', + self.prompt ] # h1 ifconfig p.sendline( 'h1 ifconfig -a' ) ifcount = 0