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

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

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