'Test terminating a connection.'

def test_terminate_connection(self):

    self.driver.do_setup(None)
    self.driver.create_volume(VOLUME)
    self.driver.initialize_connection(VOLUME, CONNECTOR)
    self.driver.terminate_connection(VOLUME, CONNECTOR)
    self.assertFalse(self.driver.proxy.is_volume_attached(VOLUME, CONNECTOR))
    self.driver.delete_volume(VOLUME)
