Commit f5ecb8c1 authored by Romain Bignon's avatar Romain Bignon

browser: move location of pagination test to weboob.org

parent 83e23dfb
Pipeline #3287 passed with stages
in 14 minutes and 19 seconds
......@@ -921,8 +921,8 @@ class PagesBrowser(DomainBrowser):
... raise NextPage(next.attrib['href'])
...
>>> class Browser(PagesBrowser):
... BASEURL = 'https://romain.bignon.me'
... list = URL('/projects/weboob/list-(?P<pagenum>\d+).html', Page)
... BASEURL = 'https://weboob.org'
... list = URL('/tests/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://romain.bignon.me'
... list = URL('/projects/weboob/list-(?P<pagenum>\d+).html', Page)
... BASEURL = 'https://weboob.org'
... list = URL('/tests/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