An exception occurred when I wrote some test using chgfrom.
It seems test class doen't have _ctx.
Could fix it?
essmilter: ERROR 'TestMilter' object has no attribute '_ctx'
Traceback (most recent call last):
File "/home/sci01436/ess/ESS-Modules/ess_milter/ess_milter/essmilter.py", line 36, in wrapper
return handler(self, args, *kwargs)
File "/home/sci01436/ess/ESS-Modules/ess_milter/ess_milter/essmilter.py", line 192, in eom
if self.chgfrom_repica() is False:
File "/home/sci01436/ess/ESS-Modules/ess_milter/ess_milter/essmilter.py", line 292, in chgfrom_repica
self.chgfrom(self.ENVFROM_FOR_REPICA)
File "build/bdist.linux-x86_64/egg/Milter/init.py", line 551, in chgfrom
return self._ctx.chgfrom(sender,params)
Good bug report. I just moved pymilter to git - CVS is getting too crusty even for me. I'll add this issue to https://github.com/sdgathman/pymilter unless you get to it first.
Last edit: Stuart D. Gathman 2016-08-09