def _send_open(self, virtual_host, capabilities=''):
        args = AMQPWriter()
        args.write_shortstr(virtual_host)
        args.write_shortstr(capabilities)
        args.write_bit(False)
        self._send_method(Method(spec.Connection.Open, args))
        return self.wait(spec.Connection.OpenOk)
Tests that a SaltCloudSystemExit is raised when something other than
dataset/ETHPy150Open veegee/amqpy/amqpy/connection.py/Connection._send_open--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/cloud/clouds/opennebula_test.py/OpenNebulaTestCase.test_image_snapshot_flatten_function_error