[Buildbot-devel] test buildbot.test.unit.test_status_mail_MailNotifier.TestMailNotifier.test_createEmail_extraHeaders failing on master branch

William Deegan bill at baddogconsulting.com
Sun Jul 3 21:02:00 UTC 2011


Thanks!
I'll remove my .pyc's and try again.

-Bill
On Jul 3, 2011, at 7:10 AM, Dustin J. Mitchell wrote:

> On Sun, Jul 3, 2011 at 1:18 AM, William Deegan
> <bill at baddogconsulting.com> wrote:
>> I'm working on a fix for 1767 (logEnviron arg for source steps).
>> While running the tests I saw a failure on : buildbot.test.unit.test_status_mail_MailNotifier.TestMailNotifier.test_createEmail_extraHeaders
>> 
>> [ERROR]
>> Traceback (most recent call last):
>>  File "/Users/bdbaddog/devel/buildbot/master/buildbot/test/unit/test_status_mail_MailNotifier.py", line 59, in test_createEmail_extraHeaders
>> 
>>  File "/Users/bdbaddog/devel/buildbot/master/buildbot/status/mail.py", line 547, in createEmail
>>    k = interfaces.IProperties(builds[0]).render(k)
>> exceptions.TypeError: ('Could not adapt', <Mock name='build' id='4346480144'>, <InterfaceClass buildbot.interfaces.IProperties>)
>> 
>> buildbot.test.unit.test_status_mail_MailNotifier.TestMailNotifier.test_createEmail_extraHeaders
> 
> That test file (test_status_mail_MailNotifier.py) is only on the
> branch now, and does not exist on master.  Don't forget to clear out
> .pyc files when switching branches!
> 
> It was, indeed, failing on the branch - my fault for cherry-picking
> into the branch, which has now diverged quite a bit.  I fixed it
> yesterday.
> 
> Dustin





More information about the devel mailing list