← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1347236] [NEW] Tests fail due to keystoneclient 0.10 release

 

Public bug reported:

Tests and the gate fail with errors that look like:

Traceback (most recent call last):
  File "/home/jamie/.virtualenvs/horizon/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/jamie/work/horizon/openstack_dashboard/test/test_data/utils.py", line 48, in load_test_data
    return TestData(*loaders)
  File "/home/jamie/work/horizon/openstack_dashboard/test/test_data/utils.py", line 74, in __init__
    data_func(self)
  File "/home/jamie/work/horizon/openstack_dashboard/test/test_data/ceilometer_data.py", line 56, in data
    TEST.ceilometer_users.add(users.User(users.UserManager(None),
TypeError: __init__() takes exactly 3 arguments (2 given)

This is because the horizon test code constructs keystoneclient
Managers. These aren't used by horizon so can just be replaced with None
for test data.

** Affects: horizon
     Importance: Critical
     Assignee: Jamie Lennox (jamielennox)
         Status: In Progress

-- 
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/1347236

Title:
  Tests fail due to keystoneclient 0.10 release

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  Tests and the gate fail with errors that look like:

  Traceback (most recent call last):
    File "/home/jamie/.virtualenvs/horizon/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
      self.test(*self.arg)
    File "/home/jamie/work/horizon/openstack_dashboard/test/test_data/utils.py", line 48, in load_test_data
      return TestData(*loaders)
    File "/home/jamie/work/horizon/openstack_dashboard/test/test_data/utils.py", line 74, in __init__
      data_func(self)
    File "/home/jamie/work/horizon/openstack_dashboard/test/test_data/ceilometer_data.py", line 56, in data
      TEST.ceilometer_users.add(users.User(users.UserManager(None),
  TypeError: __init__() takes exactly 3 arguments (2 given)

  This is because the horizon test code constructs keystoneclient
  Managers. These aren't used by horizon so can just be replaced with
  None for test data.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1347236/+subscriptions


Follow ups

References