def test_add_score_with_params_and_lang():
    # When add a Score field
    t = ScriptScore("foo", params={"bar": "baz"}, lang="mvel")

    # Then I see the appropriate JSON
    results = {
        "script": "foo",
        "params": {
            "bar": "baz"
        },
        "lang": "mvel"
    }

    homogeneous(t, results)
Create Score Block with Params and Language
dataset/ETHPy150Open Yipit/pyeqs/tests/unit/test_score.py/test_add_score_with_params_and_lang