def test_preview_pitcher():
    soup = BeautifulSoup(open('tests/fixtures/preview_during.html'))
    pitcher = baseball.parse_starting_pitcher(soup, 0)

    assert_equals(pitcher.name, "Bumgarner")
    assert_equals(pitcher.era, 0.96)
    assert_equals(pitcher.record, '2-0')