Message105053
I would be glad to write those tests, if you could explain the strategy you have in mind more fully: since 'shutil.copyfile' performs the 'open' itself, I couldn't figure out how to stub in such a mocked up file.
Does 'open' provide a hook for testing purposes that I don't know about? |
|
Date |
User |
Action |
Args |
2010-05-05 15:51:08 | tseaver | set | recipients:
+ tseaver, pitrou, vstinner, tarek, ammon_riley |
2010-05-05 15:51:07 | tseaver | set | messageid: <1273074667.67.0.225331497661.issue4265@psf.upfronthosting.co.za> |
2010-05-05 15:51:05 | tseaver | link | issue4265 messages |
2010-05-05 15:51:05 | tseaver | create | |
|