Never import setting from openstack_dashboard
Unittests have their own settings and should not source openstack_dashboard settings. It is commonly known that django code should always import settings via "from django.conf import settings". Change-Id: I4fb5f68ed9595c5f785437b863e2eef7f6ab23c1 Closes-Bug: #1596466
This commit is contained in:
parent
42e3c6884e
commit
797f823c6e
@ -18,7 +18,7 @@ from openstack_auth import utils
|
||||
|
||||
import horizon
|
||||
|
||||
from openstack_dashboard import settings
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
class Admin(horizon.Dashboard):
|
||||
|
Loading…
x
Reference in New Issue
Block a user