← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1360794] [NEW] Need to investigate the root cause that we need to change log level to suppress annoying message in unit tests

 

Public bug reported:

bug 1358120 and https://review.openstack.org/#/c/115368/ suppress the
annoying message during the unit tests, but we need to investigate the
root cause we need to change the log level to support annoying messages.

The following tests need to be investigated.

- openstack_dashboard/dashboards/project/databases/tests.py
  test_launch_instance_exception_on_flavors
- openstack_dashboard/dashboards/identity/projects/tests.p
  test_update_project_when_default_role_does_not_exist

In both tests, we are using logger.setLevel(logging.CRITICAL) or
logging.disable(logging.ERROR).

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: django1.7 unittest

** Tags added: django1.7 unittest

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1360794

Title:
  Need to investigate the root cause that we need to change log level to
  suppress annoying message in unit tests

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  bug 1358120 and https://review.openstack.org/#/c/115368/ suppress the
  annoying message during the unit tests, but we need to investigate the
  root cause we need to change the log level to support annoying
  messages.

  The following tests need to be investigated.

  - openstack_dashboard/dashboards/project/databases/tests.py
    test_launch_instance_exception_on_flavors
  - openstack_dashboard/dashboards/identity/projects/tests.p
    test_update_project_when_default_role_does_not_exist

  In both tests, we are using logger.setLevel(logging.CRITICAL) or
  logging.disable(logging.ERROR).

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1360794/+subscriptions


Follow ups

References