Commits

Gael Pasgrimaud committed 58b15ba

use pyquery.org for testing

Comments (0)

Files changed (3)

pyquery/README.txt

 
 If `Paste`_ is installed, you are able to get url directly with a `Proxy`_ app::
 
-    >>> a = d.get('https://bitbucket.org/olauzanne/pyquery/')
+    >>> a = d.get('http://pyquery.org/')
     >>> a
     [<html>]
 
 You can retrieve the app response::
 
     >>> print a.response.status
-    301 Moved Permanently
+    200 OK
 
 The response attribute is a `WebOb`_ `Response`_
 
 
     def test_proxy(self):
         e = self.klass([])
-        val = e.get('http://pypi.python.org/pypi/pyquery/')
-        assert len(val('div#breadcrumb')) == 1, (val.response, val)
+        val = e.get('http://pyquery.org/')
+        assert len(val('div.document')) == 1, (val.response, val)
 
     def test_get(self):
         e = self.klass(app=application)
 [nosetests]
 with-doctest=true
+verbosity=3