qunit and jasmine urlpatterns should be defined only for test
Bug #1299188 reported by
Akihiro Motoki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Won't Fix
|
Low
|
utsav dusad |
Bug Description
qunit and jasmine urlpatterns are defined in horizon/
DEBUG=True is a valid situation without dev env (it is reasonable when testing).
It is better to use another flag other than DEBUG and define url_pattern "jasmine" and "qunit" only if the new flag is True.
Changed in horizon: | |
assignee: | nobody → utsav dusad (utsavdusad) |
To post a comment you must log in.
I'm a bit wary of the proliferation of settings. When setting DEBUG to True, things like the mox dependency only kick in if specifically accessing the jasmine urls so the change is transparent to the user. I wonder what problem adding a new setting will help to solve?