def test_bad_conference(): pyball = PyBall() with pytest.raises(BadRequestError): pyball.get_conference_by_id("InvalidID")
def test_conference(): pyball = PyBall() return pyball.get_conference_by_id(302)