gnu: offlineimap: Update to 7.0.12.
[jackhill/guix/guix.git] / gnu / packages / patches / python-paste-remove-website-test.patch
CommitLineData
c4a7904c
CAW
1Remove the test to see if the Python Paste website is up.
2
3Obviously without network access there is no way for us to check this, and
4it's pretty strange to test a project's website when you really mean to test
5the project anyhow...
6
7--- a/tests/test_proxy.py 2016-02-22 19:13:04.040117767 -0800
8+++ b/tests/test_proxy.py 2016-02-22 19:13:04.040117767 -0800
9@@ -1,12 +1,3 @@
10 from paste import proxy
11 from paste.fixture import TestApp
12
13-def test_paste_website():
14- # Not the most robust test...
15- # need to test things like POSTing to pages, and getting from pages
16- # that don't set content-length.
17- app = proxy.Proxy('http://pythonpaste.org')
18- app = TestApp(app)
19- res = app.get('/')
20- assert 'documentation' in res
21-