Exemplo n.º 1
0
def test_team_info():
    team = baseball.team_info('Giants')
    assert_equals(team['name'], 'San Francisco Giants')
Exemplo n.º 2
0
def test_no_team_info():
    with assert_raises(Exception):
        baseball.team_info('Giantssjk')