← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1289566] [NEW] Horizon requires mox for non-dev server

 

Public bug reported:

The file
https://github.com/openstack/horizon/blob/master/horizon/site_urls.py is
statically importing horizon/test/jasmine/jasmine which ultimately
causes mox to be statically imported.  This would mean that mox has to
be installed on a non-dev server and probably isn't want we want.

I've been given the suggestion that putting the import inside of the if
settings.DEBUG: block would probably fix the issue.

** Affects: horizon
     Importance: Undecided
     Assignee: Doug Fish (drfish)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Doug Fish (drfish)

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

Title:
  Horizon requires mox for non-dev server

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The file
  https://github.com/openstack/horizon/blob/master/horizon/site_urls.py
  is statically importing horizon/test/jasmine/jasmine which ultimately
  causes mox to be statically imported.  This would mean that mox has to
  be installed on a non-dev server and probably isn't want we want.

  I've been given the suggestion that putting the import inside of the
  if settings.DEBUG: block would probably fix the issue.

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


Follow ups

References