[issue18425] IDLE Unit test for IdleHistory.py

2013-07-10 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: Continuing the IDLE unittest framework #15392, unit test for IdleHistory.py. This test depends on mockText and uses the patch by Terry at issue #18365. Because the mockText is still about to commit, first patch http://bugs.python.org/file30865/mock_text2.dif

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-10 Thread Phil Webster
Changes by Phil Webster : -- nosy: +philwebster ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-10 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-13 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: Now we have the mockText, So I updated my test for Idlehistory. The submitted patch2 contains tests for two methods in Idlehistory (history_store and History_do). I hope the tests for history_store are done. But the history_do method tests fails. I explored a

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I said on one of the other issues, which I hope you read, we have the option of gui tests when mocking becomes too complicated. So at least for now, put the test that requires marks in a separate test case with requires('gui') in setUPClass. The problem wi

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-18 Thread R. Jayakrishnan
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

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-21 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- resolution: -> works for me ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Resolution is for when the issue is closed, and I expect this to be closed as 'fixed'. -- assignee: -> terry.reedy resolution: works for me -> stage: -> patch review ___ Python tracker