Comment 9 for bug 1466380

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

These debdiffs FTBFS from new test suite failures:

======================================================================
ERROR: test_blacklist (__main__.TestOriginPatern)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_origin_pattern.py", line 115, in test_blacklist
    check_changes_for_sanity(cache, allowed_origins, blacklist, [".*"]))
  File "/«PKGBUILDDIR»/test/unattended_upgrade.py", line 532, in check_changes_for_sanity
    if not any([o.trusted for o in pkg.candidate.origins]):
  File "/«PKGBUILDDIR»/test/unattended_upgrade.py", line 532, in <listcomp>
    if not any([o.trusted for o in pkg.candidate.origins]):
AttributeError: 'MockOrigin' object has no attribute 'trusted'

======================================================================
ERROR: test_whitelist_with_strict_whitelisting (__main__.TestOriginPatern)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_origin_pattern.py", line 135, in test_whitelist_with_strict_whitelisting
    check_changes_for_sanity(cache, allowed_origins, [], whitelist))
  File "/«PKGBUILDDIR»/test/unattended_upgrade.py", line 532, in check_changes_for_sanity
    if not any([o.trusted for o in pkg.candidate.origins]):
  File "/«PKGBUILDDIR»/test/unattended_upgrade.py", line 532, in <listcomp>
    if not any([o.trusted for o in pkg.candidate.origins]):
AttributeError: 'MockOrigin' object has no attribute 'trusted'