pyquery

changeset 79:58b15bae680f

use pyquery.org for testing
author Gael Pasgrimaud <gael@gawel.org>
date Sat Jan 24 03:00:22 2009 +0100 (18 months ago)
parents 85aa941b493b
children 91a4330801b9
files pyquery/README.txt pyquery/test.py setup.cfg
line diff
     1.1 --- a/pyquery/README.txt	Sat Jan 24 02:59:30 2009 +0100
     1.2 +++ b/pyquery/README.txt	Sat Jan 24 03:00:22 2009 +0100
     1.3 @@ -312,14 +312,14 @@
     1.4  
     1.5  If `Paste`_ is installed, you are able to get url directly with a `Proxy`_ app::
     1.6  
     1.7 -    >>> a = d.get('https://bitbucket.org/olauzanne/pyquery/')
     1.8 +    >>> a = d.get('http://pyquery.org/')
     1.9      >>> a
    1.10      [<html>]
    1.11  
    1.12  You can retrieve the app response::
    1.13  
    1.14      >>> print a.response.status
    1.15 -    301 Moved Permanently
    1.16 +    200 OK
    1.17  
    1.18  The response attribute is a `WebOb`_ `Response`_
    1.19  
     2.1 --- a/pyquery/test.py	Sat Jan 24 02:59:30 2009 +0100
     2.2 +++ b/pyquery/test.py	Sat Jan 24 03:00:22 2009 +0100
     2.3 @@ -174,8 +174,8 @@
     2.4  
     2.5      def test_proxy(self):
     2.6          e = self.klass([])
     2.7 -        val = e.get('http://pypi.python.org/pypi/pyquery/')
     2.8 -        assert len(val('div#breadcrumb')) == 1, (val.response, val)
     2.9 +        val = e.get('http://pyquery.org/')
    2.10 +        assert len(val('div.document')) == 1, (val.response, val)
    2.11  
    2.12      def test_get(self):
    2.13          e = self.klass(app=application)
     3.1 --- a/setup.cfg	Sat Jan 24 02:59:30 2009 +0100
     3.2 +++ b/setup.cfg	Sat Jan 24 03:00:22 2009 +0100
     3.3 @@ -1,2 +1,3 @@
     3.4  [nosetests]
     3.5  with-doctest=true
     3.6 +verbosity=3

To download these repositories, get Mercurial and then type something like:

hg clone http://techn.ocracy.org/repository-name/

You can also click the "zip" or "gz" links to get an archive of the latest revision without installing anything.

The change logs of the repositories are aggregated at techn.ocracy.org/planet.

We have also some darcs repositories at techn.ocracy.org/darcs.