<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi!<div class=""><br class=""></div><div class="">Just as a follow up to my email yesterday, tests are now passing. Many thanks Rob for helping me out with this on IRC!</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Thanks again,</div><div class="">Beth</div><div class="">IRC: betherly</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 10 Apr 2017, at 17:45, Beth Elwell <<a href="mailto:beth.openstack@gmail.com" class="">beth.openstack@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">Thanks very much in advance for any help you are able to offer.</div><div class=""><br class=""></div><div class="">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 <a href="https://review.openstack.org/#/c/418828/" class="">https://review.openstack.org/#/c/418828/</a> </div><div class=""><br class=""></div><div class="">The error log is as follows: </div><div class=""><br class=""></div><a href="http://paste.openstack.org/show/606058/" class="">http://paste.openstack.org/show/606058/</a><div class=""><a href="http://paste.openstack.org/show/606058/" class=""><br class=""></a><div class="">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 <a href="https://review.openstack.org/#/c/418828/28/openstack_dashboard/static/app/core/network_qos/qos.service.spec.js" class="">https://review.openstack.org/#/c/418828/28/openstack_dashboard/static/app/core/network_qos/qos.service.spec.js</a> </div></div><div class=""><br class=""></div><div class="">However the resource-type-registry is definitely defined and I cannot see why this should be throwing errors.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Many thanks,</div><div class="">Beth</div><div class="">IRC: betherly</div></div></div></blockquote></div><br class=""></div></body></html>