def test_results(_get):
    _get().content = open('tests/fixtures/schedule.html').read()
    results, _ = baseball.schedule('WEST', 'http://example.com')
    assert_equals(results, [
        baseball.Result('LA Dodgers', april(1, 13, 5), False, False, '4-0'),
        baseball.Result('LA Dodgers', april(2, 13, 5), False, True, '3-0'),
        baseball.Result('LA Dodgers', april(3, 13, 5), False, True, '5-3'),
        baseball.Result('St. Louis', april(5, 13, 5), True, True, '1-0'),
    ])