← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1299188] Re: qunit and jasmine urlpatterns should be defined only for test

 

Not going to fix this.

Deployments shouldn't put tests in production, and regardless, you must
expect some odd behavior if you place a production environment into
DEBUG mode.  This is also harmless behavior, so I'm not really worried
about it.

** Changed in: horizon
       Status: New => Won't Fix

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

Title:
  qunit and jasmine urlpatterns should be defined only for test

Status in OpenStack Dashboard (Horizon):
  Won't Fix

Bug description:
  qunit and jasmine urlpatterns are defined in horizon/site_urls.py if settings.DEBUG is True.
  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.

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


References