Tests: Ruby input.rewind is no longer required.
For more information see:
42aff22f70
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
app = Proc.new do |env|
|
|
||||||
env['rack.input'].read
|
|
||||||
env['rack.input'].rewind
|
|
||||||
body = env['rack.input'].read
|
|
||||||
['200', {'Content-Length' => body.length.to_s}, [body]]
|
|
||||||
end
|
|
||||||
|
|
||||||
run app
|
|
||||||
@@ -163,15 +163,6 @@ def test_ruby_application_input_each():
|
|||||||
assert client.post(body=body)['body'] == body, 'input each'
|
assert client.post(body=body)['body'] == body, 'input each'
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip('not yet')
|
|
||||||
def test_ruby_application_input_rewind():
|
|
||||||
client.load('input_rewind')
|
|
||||||
|
|
||||||
body = '0123456789'
|
|
||||||
|
|
||||||
assert client.post(body=body)['body'] == body, 'input rewind'
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip('not yet')
|
@pytest.mark.skip('not yet')
|
||||||
def test_ruby_application_syntax_error(skip_alert):
|
def test_ruby_application_syntax_error(skip_alert):
|
||||||
skip_alert(
|
skip_alert(
|
||||||
|
|||||||
Reference in New Issue
Block a user