def test_response_set_content_length() -> None:
    resp = Response()
    with pytest.raises(RuntimeError):
        resp.content_length = 1
Beispiel #2
0
def test_response_set_content_length():
    resp = Response()
    with pytest.raises(RuntimeError):
        resp.content_length = 1