all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 93417fbe755b675413af3876458d77ec60550303 743 bytes (raw)
name: gnu/packages/patches/python-paste-remove-website-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
Remove the test to see if the Python Paste website is up.

Obviously without network access there is no way for us to check this, and
it's pretty strange to test a project's website when you really mean to test
the project anyhow...

--- a/tests/test_proxy.py	2016-02-22 19:13:04.040117767 -0800
+++ b/tests/test_proxy.py	2016-02-22 19:13:04.040117767 -0800
@@ -1,12 +1,3 @@
 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
-

debug log:

solving 93417fb ...
found 93417fb in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.