def test_events():
    res = api.events(1819, 1)
    assert isinstance(res, list)
    assert (len(res) == 10)
    assert (res[0]['Level'] == 1)
    assert (res[(- 1)]['ShortDescription'] == 'Oslo Holmenkollen')
def test_events():
    res = api.events(1819, 1)
    assert isinstance(res, list)
    assert (len(res) == 10)
    assert (res[0]['Level'] == 1)
    assert (res[(- 1)]['ShortDescription'] == 'Oslo Holmenkollen')