The unit tests for the view itself are there: https://code.launchpad.net/~rvb/maas/maas-add-proxy-test/+merge/97593.
I've extracted the method get_proxy_longpoll_enabled only to test that the proxy view is setup correctly. But the tiny piece of code that sets up the view itself, I've no idea how to properly test that…
« Back to merge proposal
The unit tests for the view itself are there: https:/ /code.launchpad .net/~rvb/ maas/maas- add-proxy- test/+merge/ 97593.
I've extracted the method get_proxy_ longpoll_ enabled only to test that the proxy view is setup correctly. But the tiny piece of code that sets up the view itself, I've no idea how to properly test that…