[issue15557] Tests for webbrowser module
Anton Barkovsky
report at bugs.python.org
Sun Aug 12 21:09:41 CEST 2012
Anton Barkovsky added the comment:
Updated, added separate helper methods and 'test' and 'http://www.example.com/' are no longer hardcoded.
> The helper methods could default to the most common string arguments so that you will only need to define and pass the string arguments when the browser uses strings that are different from the defaults.
I don't see a good reason to provide defaults. If some browsers have same arguments it's just a coincidence, the arguments are not likely to ever change, and I don't like when a test case is scattered all over the module in the form of defaults.
----------
Added file: http://bugs.python.org/file26776/test_webbrowser_v3.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15557>
_______________________________________
More information about the Python-bugs-list
mailing list