def _mock_ipdb_context_manager(self, netns):
    mock_ipdb = mock.Mock(interfaces={'bridge': mock.Mock(__enter__=mock.Mock(return_value=self.m_bridge_iface), __exit__=mock.Mock(return_value=None)), 'c_interface': mock.Mock(__enter__=mock.Mock(return_value=self.m_c_iface), __exit__=mock.Mock(return_value=None)), 'h_interface': mock.Mock(__enter__=mock.Mock(return_value=self.m_h_iface), __exit__=mock.Mock(return_value=None))})
    mock_exit = mock.Mock(return_value=None)
    mock_ipdb.__exit__ = mock_exit
    mock_ipdb.__enter__ = mock.Mock(return_value=mock_ipdb)
    self.ipdbs[netns] = mock_ipdb
    return (mock_ipdb, mock_exit)
def _mock_ipdb_context_manager(self, netns):
    mock_ipdb = mock.Mock(interfaces={'bridge': mock.Mock(__enter__=mock.Mock(return_value=self.m_bridge_iface), __exit__=mock.Mock(return_value=None)), 'c_interface': mock.Mock(__enter__=mock.Mock(return_value=self.m_c_iface), __exit__=mock.Mock(return_value=None)), 'h_interface': mock.Mock(__enter__=mock.Mock(return_value=self.m_h_iface), __exit__=mock.Mock(return_value=None))})
    mock_exit = mock.Mock(return_value=None)
    mock_ipdb.__exit__ = mock_exit
    mock_ipdb.__enter__ = mock.Mock(return_value=mock_ipdb)
    self.ipdbs[netns] = mock_ipdb
    return (mock_ipdb, mock_exit)