@pytest.mark.parametrize("prev_signature,new_signature,expected", [
    (None, "new_val", "new_val"),
    ("old_val", "new_val", "old_val")
])
def test_set_signature(actor, prev_signature, new_signature, expected):
    actor.signature_set(prev_signature)
    actor.signature_set(new_signature)
    assert actor._signature == expected
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/tests/test_actor.py/test_set_signature/original