def METHOD_NAME(data):
    # Given
    video = data['video']
    release_name = data['release_name']
    expected = data['release_properties']
    # When
    sut.refine(video, release_name=release_name)
    # Then
    assert expected == _to_properties(video)