Comment 0 for bug 1712654

Revision history for this message
Corey Bryant (corey.bryant) wrote : test failures if DJANGO_SETTINGS_MODULE=neutron_lbaas_dashboard.tests.settings

I'm seeing the following failures when running tests for neutron-lbaas-dashboard 3.0.0.0rc1 for Pike: http://paste.ubuntu.com/25378209/

The failures revolve around this error message, which is possibly prevents the dashboard from working for Pike, though I've not yet tested: "NotImplementedError: The DisableLoadBalancer BatchAction class must have both action_past and action_present methods."

In Ubuntu, when we build dashboard packages, we set DJANGO_SETTINGS_MODULE when running tests. For example, for neutron-lbaas-dashboard we set it to DJANGO_SETTINGS_MODULE=neutron_lbaas_dashboard.tests.settings.

To test this you can apply the following patch and then run py27 tests with tox (tox -e py27):
http://paste.ubuntu.com/25378201/