Horizon requires mox for non-dev server

Bug #1289566 reported by Doug Fish
This bug report is a duplicate of:  Bug #1288245: mox is needed in requirements. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
In Progress
Undecided
Doug Fish

Bug Description

The file https://github.com/openstack/horizon/blob/master/horizon/site_urls.py is unconditionally importing horizon/test/jasmine/jasmine which ultimately causes mox to be imported. This means 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.

Doug Fish (drfish)
Changed in horizon:
assignee: nobody → Doug Fish (drfish)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/79084

Changed in horizon:
status: New → In Progress
Doug Fish (drfish)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.