Пример #1
0
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)
Пример #2
0
def test_current_edition():
    """Test that Edition/current return an edition object"""
    url = helpertest.apirooturl() + "/Edition/current"
    helpertest.check_element(url, check_edition)
Пример #3
0
def test_edition_one():
    """Test that Edition/1 return an edition object"""
    url = helpertest.apirooturl() + "/Edition/" + helpertest.edition()
    helpertest.check_element(url, check_edition)
Пример #4
0
def test_get_coach():
    """Test that Coach/<id> returns a coach object"""
    url = helpertest.apirooturl() + "/Coach/1"
    helpertest.check_element(url, check_coach)