diff options
-rw-r--r-- | tests/test_proxy.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_proxy.py b/tests/test_proxy.py index 44db9f3..844f9a0 100644 --- a/tests/test_proxy.py +++ b/tests/test_proxy.py @@ -1,12 +1,12 @@ from paste import proxy from paste.fixture import TestApp -def test_paste_website(): +def test_proxy_to_website(): # Not the most robust test... # need to test things like POSTing to pages, and getting from pages # that don't set content-length. - app = proxy.Proxy('http://pythonpaste.org') + app = proxy.Proxy('http://httpbin.org') app = TestApp(app) res = app.get('/') - assert 'documentation' in res - + # httpbin is a react app now, so hard to read + assert '<title>httpbin.org</title>' in res |