Opened 6 years ago

Closed 6 years ago

#11048 closed (duplicate)

Oracle raises KeyError in IntrospectionTests.test_get_indexes

Reported by: mboersma Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords: Oracle oracle
Cc: ikelly Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The Oracle backend raises a KeyError when executing test_get_indexes:

C:\projects\django-trunk\tests>runtests.py --settings=testsettings.oracle introspection
======================================================================
ERROR: test_get_indexes (regressiontests.introspection.tests.IntrospectionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\django-trunk\tests\regressiontests\introspection\tests.py", line 28, in _inner
    return func(*args, **kwargs)
  File "C:\projects\django-trunk\tests\regressiontests\introspection\tests.py", line 105, in test_get_indexes
    self.assertEqual(indexes['reporter_id'], {'unique': False, 'primary_key': False})
KeyError: 'reporter_id'

This happens in both the 1.0.x maintenance branch and the pre-1.1 trunk as of revision [10723]. It hasn't caused real-world problems as far as I know, but I've entered it here as a bug so we don't lose track of it.

Change History (1)

comment:1 Changed 6 years ago by mboersma

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Ian Kelly points out this is actually another case of the capitalization problem in #11050.

Note: See TracTickets for help on using tickets.
Back to Top