Commit 86079c84 authored by Martín Ferrari's avatar Martín Ferrari

Fix tests broken last night

parent 783c58e0
......@@ -151,7 +151,8 @@ class TestWithDummy(unittest.TestCase):
def tearDown(self):
# oops here
os.system("ip link del %s" % self.dummyname)
if hasattr(self, 'dummyname'):
os.system("ip link del %s" % self.dummyname)
# FIXME: Links
......
......@@ -108,7 +108,7 @@ class TestServer(unittest.TestCase):
check_error(self, "proc crte =a") # invalid b64
# simulate proc mode
srv.commands = netns.protocol._proc_commands
srv._commands = netns.protocol._proc_commands
check_error(self, "proc crte foo")
check_error(self, "proc poll 0")
check_error(self, "proc wait 0")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment