Comment 5 for bug 1497664

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/225564
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=9757292c3b7f2a8d955fbe2cc1673a2baac702e5
Submitter: Jenkins
Branch: master

commit 9757292c3b7f2a8d955fbe2cc1673a2baac702e5
Author: Sebastian Kalinowski <email address hidden>
Date: Mon Sep 21 09:35:40 2015 +0200

    ErrorsFactory returns only defined errors

    ErrorsFactory had __getattr__ method that was used to always
    return any error (if it doesn't existed, it created a new one).
    This was causing "hasattr" to return 'True' for every check.
    Due to this any code, that wanted to check for some unique attributes
    in ErrorsFactory was working incorrectly. This was the case for
    a py.test library when scannig code when looking for tests.
    Now this behavior has been removed. This uncovered new bugs
    which was fixed.

    Change-Id: I3c9be96dbcc535ea9c730d29b065479cc318fd9f
    Closes-Bug: #1497664