Public bug reported: After doing this tutorial "Tutorial: Building a Dashboard using Horizon" (http://docs.openstack.org/developer/horizon/topics/tutorial.html), user may try to run tests. The boilerplate test seems to fail.
After running through the tutorial, tests should run clean, but "test_me" in openstack_dashboard/dashboards/mydashboard/mypanel/tests.py fails: ====================================================================== ERROR: test_me (openstack_dashboard.dashboards.mydashboard.mypanel.tests.MypanelTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/stack/horizon/horizon/test/helpers.py", line 133, in setUp self._setup_user() File "/home/stack/horizon/horizon/test/helpers.py", line 147, in _setup_user self.assertTrue(self.client.login(username="test", password="test")) File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py", line 554, in login user = authenticate(**credentials) File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 60, in authenticate user = backend.authenticate(**credentials) File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/openstack_auth/backend.py", line 120, in authenticate raise exceptions.KeystoneAuthException(msg) KeystoneAuthException: <django.utils.functional.__proxy__ object at 0x17d00590> ** Affects: horizon Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1451960 Title: Building Dashboard Tutorial test fails Status in OpenStack Dashboard (Horizon): New Bug description: After doing this tutorial "Tutorial: Building a Dashboard using Horizon" (http://docs.openstack.org/developer/horizon/topics/tutorial.html), user may try to run tests. The boilerplate test seems to fail. After running through the tutorial, tests should run clean, but "test_me" in openstack_dashboard/dashboards/mydashboard/mypanel/tests.py fails: ====================================================================== ERROR: test_me (openstack_dashboard.dashboards.mydashboard.mypanel.tests.MypanelTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/stack/horizon/horizon/test/helpers.py", line 133, in setUp self._setup_user() File "/home/stack/horizon/horizon/test/helpers.py", line 147, in _setup_user self.assertTrue(self.client.login(username="test", password="test")) File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py", line 554, in login user = authenticate(**credentials) File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 60, in authenticate user = backend.authenticate(**credentials) File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/openstack_auth/backend.py", line 120, in authenticate raise exceptions.KeystoneAuthException(msg) KeystoneAuthException: <django.utils.functional.__proxy__ object at 0x17d00590> To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1451960/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp