def METHOD_NAME(openshift_source, openshift_cred_id):
    """Test if serializer updates fields correctly when options are present."""
    assert openshift_source.options.ssl_cert_verify
    updated_data = {
        "name": "source_updated",
        "hosts": ["5.4.3.2"],
        "options": {"ssl_cert_verify": False},
        "credentials": [openshift_cred_id],
    }
    serializer = SourceSerializer(data=updated_data, instance=openshift_source)
    assert serializer.is_valid(), serializer.errors
    serializer.save()
    assert openshift_source.name == "source_updated"
    assert openshift_source.source_type == DataSources.OPENSHIFT
    assert not openshift_source.options.ssl_cert_verify