@mock_ec2
    def test_partial(self):
        get_conn = salt.utils.boto.get_connection_func(service)
        conn = get_conn(**conn_parameters)
        self.assertTrue(conn in salt.utils.boto.__context__.values())
dataset/ETHPy150Open saltstack/salt/tests/unit/utils/boto_test.py/BotoUtilsGetConnTestCase.test_partial/original