Commit 8508f951 authored by Romain Bignon's avatar Romain Bignon

fix docstrings and add weboob.browser.* in nosetests

parent c281d7a2
......@@ -8,6 +8,8 @@ tests = weboob.tools.capabilities.bank.transactions,
weboob.tools.application.formatters.json,
weboob.tools.application.formatters.table,
weboob.tools.path,
weboob.browser.browsers,
weboob.browser.pages,
weboob.browser.filters.standard
[isort]
......
......@@ -649,7 +649,8 @@ class PagesBrowser(DomainBrowser):
... list = URL('/~rom1/projects/weboob/list-(?P<pagenum>\d+).html', Page)
...
>>> b = Browser()
>>> b.list.go(pagenum=1)
>>> b.list.go(pagenum=1) # doctest: +ELLIPSIS
<weboob.browser.browsers.Page object at 0x...>
>>> list(b.pagination(lambda: b.page.iter_values()))
['One', 'Two', 'Three', 'Four']
"""
......
......@@ -54,7 +54,8 @@ def pagination(func):
... list = URL('/~rom1/projects/weboob/list-(?P<pagenum>\d+).html', Page)
...
>>> b = Browser()
>>> b.list.go(pagenum=1)
>>> b.list.go(pagenum=1) # doctest: +ELLIPSIS
<weboob.browser.pages.Page object at 0x...>
>>> list(b.page.iter_values())
['One', 'Two', 'Three', 'Four']
"""
......
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