This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JayKrish
Recipients JayKrish, Todd.Rovito, philwebster, terry.reedy
Date 2013-07-18.10:24:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374143056.81.0.770946198729.issue18425@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-07-18 10:24:16JayKrishsetrecipients: + JayKrish, terry.reedy, Todd.Rovito, philwebster
2013-07-18 10:24:16JayKrishsetmessageid: <1374143056.81.0.770946198729.issue18425@psf.upfronthosting.co.za>
2013-07-18 10:24:16JayKrishlinkissue18425 messages
2013-07-18 10:24:16JayKrishcreate