

@silencestderr
def test_serving(self):
    (server, addr) = run_dev_server(test_app)
    rv = urlopen(('http://%s/?foo=bar&baz=blah' % addr)).read()
    self.assert_in(b'WSGI Information', rv)
    self.assert_in(b'foo=bar&amp;baz=blah', rv)
    self.assert_in((b'Werkzeug/' + version.encode('ascii')), rv)

dataset/ETHPy150Open GeekTrainer/Flask/Work/Trivia - Module 5/env/Lib/site-packages/werkzeug/testsuite/serving.py ServingTestCase.test_serving/original