← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1482509] Re: Remove un-related nova quota in test data

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

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

Title:
  Remove un-related nova quota in test data

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  There two quota in nova_data that are cinder related:
  -  volumes='1',
  -  gigabytes='1000',

  
  When the test runs django18, this causes a test failure:

  ======================================================================
  FAIL: test_index_with_neutron_disabled (openstack_dashboard.dashboards.admin.defaults.tests.ServicesViewTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lin-hua-cheng/Documents/workspace/horizon/openstack_dashboard/dashboards/admin/defaults/tests.py", line 31, in test_index_with_neutron_disabled
      self._test_index(neutron_enabled=False)
    File "/home/lin-hua-cheng/Documents/workspace/horizon/openstack_dashboard/dashboards/admin/defaults/tests.py", line 90, in _test_index
      ordered=False)
    File "/home/lin-hua-cheng/Documents/workspace/horizon/.venv/local/lib/python2.7/site-packages/django/test/testcases.py", line 885, in assertQuerysetEqual
      return self.assertEqual(Counter(items), Counter(values), msg=msg)

   assertQuerysetEqual() is doing a proper check now in django1.8 and
  catches the duplicated quota in both nova_data and cinder_data, and

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


References