def __exit__(self, exc_type, exc_val, exc_tb):
        self.close()

        # propagate exceptions
        return False
Configure an attribute on the mock ncclient module.
dataset/ETHPy150Open blynch/CloudMemeBackend/gridfs/grid_file.py/GridIn.__exit__--crossover with--dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/ml2/drivers/cisco/nexus/test_cisco_mech.py/CiscoML2MechanismTestCase._patch_ncclient