Commit 11a35ddc authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[weboob/browser/browser+pages] Fixed doctest BASEURL

The URL `https://people.symlink.me/~rom1` has been changed to `https://romain.bignon.me/`.
parent 6cefbf58
......@@ -775,8 +775,8 @@ class PagesBrowser(DomainBrowser):
... raise NextPage(next.attrib['href'])
...
>>> class Browser(PagesBrowser):
... BASEURL = 'https://people.symlink.me'
... list = URL('/~rom1/projects/weboob/list-(?P<pagenum>\d+).html', Page)
... BASEURL = 'https://romain.bignon.me'
... list = URL('/projects/weboob/list-(?P<pagenum>\d+).html', Page)
...
>>> b = Browser()
>>> b.list.go(pagenum=1) # doctest: +ELLIPSIS
......
......@@ -58,8 +58,8 @@ def pagination(func):
>>> from .browsers import PagesBrowser
>>> from .url import URL
>>> class Browser(PagesBrowser):
... BASEURL = 'https://people.symlink.me'
... list = URL('/~rom1/projects/weboob/list-(?P<pagenum>\d+).html', Page)
... BASEURL = 'https://romain.bignon.me'
... list = URL('/projects/weboob/list-(?P<pagenum>\d+).html', Page)
...
>>> b = Browser()
>>> b.list.go(pagenum=1) # doctest: +ELLIPSIS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment