This is slightly advanced testing bizness. Basically, right now the testing suite is testing the time-sensitive aspects of the welcomebot code by using .sleep(), but @nedbat points out that a more robust way to do this is to make a mock time (like we do with the ircsock object). If anyone wants to pair with me on this, let me know!
This is slightly advanced testing bizness. Basically, right now the testing suite is testing the time-sensitive aspects of the welcomebot code by using .sleep(), but @nedbat points out that a more robust way to do this is to make a mock time (like we do with the ircsock object). If anyone wants to pair with me on this, let me know!