Exemple #1
0
def test_bad_division():
    pyball = PyBall()
    with pytest.raises(BadRequestError):
        pyball.get_division_by_id("InvalidID")
Exemple #2
0
def test_division():
    pyball = PyBall()
    return pyball.get_division_by_id(201)