Make the "base" recipe more complete
This commit is contained in:
parent
32d7b53e63
commit
73d93f2d09
3 changed files with 29 additions and 1 deletions
15
tools/boilerplate_data/base_pages.py
Normal file
15
tools/boilerplate_data/base_pages.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<%inherit file="layout.py"/>
|
||||
from weboob.tools.browser import BasePage
|
||||
|
||||
|
||||
__all__ = ['Page1', 'Page2']
|
||||
|
||||
|
||||
class Page1(BasePage):
|
||||
def do_stuff(self, _id):
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
class Page2(BasePage):
|
||||
def do_more_stuff(self):
|
||||
raise NotImplementedError()
|
||||
Loading…
Add table
Add a link
Reference in a new issue