def test_coach_team(): """Test that CoachTeam/<id> returns a coach_team object""" url = helpertest.apirooturl() + "/CoachTeam/1" helpertest.check_element(url, check_coach_team)
def test_current_edition(): """Test that Edition/current return an edition object""" url = helpertest.apirooturl() + "/Edition/current" helpertest.check_element(url, check_edition)
def test_edition_one(): """Test that Edition/1 return an edition object""" url = helpertest.apirooturl() + "/Edition/" + helpertest.edition() helpertest.check_element(url, check_edition)
def test_get_coach(): """Test that Coach/<id> returns a coach object""" url = helpertest.apirooturl() + "/Coach/1" helpertest.check_element(url, check_coach)