← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1596466] [NEW] unitests fail with the presence of a local_settings file

 

Public bug reported:

The following patch broke stable/mitaka and master unittests because the
custom local_settings file is sourced and should not:

https://review.openstack.org/#/q/I05c8fc750c56f6f6bb49a435662e821eb0d6ba30,n,z

this is because we should have "from django.conf import settings"
instead of "from openstack_dashboard import settings".

** Affects: horizon
     Importance: Undecided
     Assignee: Yves-Gwenael Bourhis (yves-gwenael-bourhis)
         Status: In Progress


** Tags: mitaka-backport-potential

** Tags added: mitaka-backport-potential

** Summary changed:

- unitests fail whit the presence of a local_settings file
+ unitests fail with the presence of a local_settings file

-- 
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/1596466

Title:
  unitests fail with the presence of a local_settings file

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  The following patch broke stable/mitaka and master unittests because
  the custom local_settings file is sourced and should not:

  https://review.openstack.org/#/q/I05c8fc750c56f6f6bb49a435662e821eb0d6ba30,n,z

  this is because we should have "from django.conf import settings"
  instead of "from openstack_dashboard import settings".

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


Follow ups