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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15557>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to