def test_delete_port(self):
    pname = 'tap5'
    utils.execute(['ovs-vsctl', self.TO, '--', '--if-exists', 'del-port', self.BR_NAME, pname], root_helper=self.root_helper)
    self.mox.ReplayAll()
    self.br.delete_port(pname)
    self.mox.VerifyAll()
def test_delete_port(self):
    pname = 'tap5'
    utils.execute(['ovs-vsctl', self.TO, '--', '--if-exists', 'del-port', self.BR_NAME, pname], root_helper=self.root_helper)
    self.mox.ReplayAll()
    self.br.delete_port(pname)
    self.mox.VerifyAll()