def test_competitions():
    res = api.competitions('BT1819SWRLCP01')
    assert isinstance(res, list)
    assert (len(res) == 8)
    assert (res[(- 1)]['ShortDescription'] == 'Women 10km Pursuit')
def test_competitions():
    res = api.competitions('BT1819SWRLCP01')
    assert isinstance(res, list)
    assert (len(res) == 8)
    assert (res[(- 1)]['ShortDescription'] == 'Women 10km Pursuit')