opened
MegaWale
username_0
i tackled the title issue first.

i added a set_title method to the widget.py/TempyPage

Will love to know if i am on the right track. Need your guidiance.
opinion: need your comment/guidiance on my fix
issue
created
Hrabal
username_1
Hey, yes it's good to have a separate method to call in __init__ . Just add a couple of tests for the new method.
comment
created
MegaWale
username_0
okay...:+1:
comment
created
MegaWale
username_0
hey @username_1, after adding a test, i ran the command
`~python test_widgets.py`
to check, hope i am doing anything wrong.
but i got an error:
`Traceback (most recent call last):
  File "test_widgets.py", line 8, in <module>
    from tempy.widgets import TempyTable, TempyList, TempyPage
ImportError: No module named 'tempy'`

also, what do you suggest i do with the failing checks??
thanks
comment
created
Hrabal
username_1
To run the tests go to the base repository folder and run "python3 -m unittest discover". This way the test framework will run all the tests in the project. (See https://docs.python.org/3.6/library/unittest.html for more info). Regarding the failing test you can see in the TravisCI page the error traceback..
comment
created
MegaWale
username_0
ran the test and it passed. thanks for the link, learn't something new. And all the checks passed!
what do you think?
comment
created
Hrabal
username_1
Good! Now your new method can be used, alongside set_doctype, inside the TempyPage.__init__ so the issue is solved.
comment
created
MegaWale
username_0
good to know that @username_1, thanks.
comment