summaryrefslogtreecommitdiff
path: root/tests/test_proxy.py
blob: 36d16b5b06a1c3cbff18984b16dfe306df458b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from paste import proxy
from paste.fixture import TestApp

def test_paste_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 = TestApp(app)
    res = app.get('/')
    assert 'documentation' in res