[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 05:18:12 UTC 2011


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

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>)


So I tried on plain master, and it fails there too.
Not sure who's made changes which might affect this of late..
(unless of course my git is weak today and I've mucked up my area)

More information about the devel mailing list