Hi! Just as a follow up to my email yesterday, tests are now passing. Many thanks Rob for helping me out with this on IRC!
If anyone else comes across this error message developing panels in horizon, my solution was that I wasn’t making the correct modules available with just beforeEach(module(‘horizon.app.core.network_qos')); Weirdly even adding beforeEach(module(‘horizon.app.core.openstack-service-api')); didn’t fix the errors, yet injecting a broader scope of beforeEach(module(‘horizon.app.core')); works in this case. Thanks again, Beth IRC: betherly > On 10 Apr 2017, at 17:45, Beth Elwell <beth.openst...@gmail.com> wrote: > > Hi all, > > Thanks very much in advance for any help you are able to offer. > > I have been working on developing the QoS Policies panel for horizon and have > the panel working, however I am struggling with the qos.service.spec.js file. > In advance of going into my findings and issues so far, the related patch is > located at https://review.openstack.org/#/c/418828/ > <https://review.openstack.org/#/c/418828/> > > The error log is as follows: > > http://paste.openstack.org/show/606058/ > <http://paste.openstack.org/show/606058/> > > <http://paste.openstack.org/show/606058/>From that error log it looks to me > like the resource-type-registry for neutron is not being defined, and the > error appears with the link to the network_qos module as per line 19 > https://review.openstack.org/#/c/418828/28/openstack_dashboard/static/app/core/network_qos/qos.service.spec.js > > <https://review.openstack.org/#/c/418828/28/openstack_dashboard/static/app/core/network_qos/qos.service.spec.js> > > > However the resource-type-registry is definitely defined and I cannot see why > this should be throwing errors. > > It could well be I have just looked at this code for too long and my brain is > skipping over something, but any help anyone can give on this would be > massively appreciated. > > Many thanks, > Beth > IRC: betherly
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev