[issue18425] IDLE Unit test for IdleHistory.py
R. Jayakrishnan
report at bugs.python.org
Thu Jul 18 12:24:16 CEST 2013
R. Jayakrishnan added the comment:
Thanks Terry for "we have the option of gui tests when mocking becomes too complicated"
I put two separate classes IdleHistoryMockTest and IdleHistoryTKTest for mock and TK text usages and used TK Text to test IdleHistory.history_do function. This worked for me and hopefully IMHO the logic behind history_do is tested enough for now.
----------
Added file: http://bugs.python.org/file30963/test_idlehistory2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18425>
_______________________________________
More information about the Python-bugs-list
mailing list