Building Dashboard Tutorial test fails

Bug #1451960 reported by Cindy Lu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
In Progress
Medium
Sam Betts

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>

Sam Betts (sambetts)
Changed in horizon:
status: New → Confirmed
assignee: nobody → Sam Betts (sambetts)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/181459

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
importance: Undecided → High
Changed in horizon:
milestone: none → next
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Sam Betts (<email address hidden>) on branch: master
Review: https://review.openstack.org/181459

Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

Re-prioritizing to medium since this does not affect the running product. Feel free to provide feedback if this re-prioritization is unwarranted.

Changed in horizon:
importance: High → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.