Opened 5 years ago
Closed 5 years ago
#31800 closed Bug (duplicate)
Oracle InspectDB tests fail on Windows
| Reported by: | Ahmad A. Hussein | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Normal | Keywords: | oracle, inspectdb, windows |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
======================================================================
FAIL: test_field_types (inspectdb.tests.InspectDBTestCase)
Test introspection of various Django field types
----------------------------------------------------------------------
Traceback (most recent call last):
File "django\tests\inspectdb\tests.py", line 86, in test_field_types
assertFieldType('date_field', "models.DateField()")
File "django\tests\inspectdb\tests.py", line 57, in assertFieldType
self.assertEqual(definition, out_def)
AssertionError: 'models.DateField()' != 'models.TextField() # This field type is a guess.'
- models.DateField()
+ models.TextField() # This field type is a guess.
======================================================================
FAIL: test_number_field_types (inspectdb.tests.InspectDBTestCase)
Test introspection of various Django field types
----------------------------------------------------------------------
Traceback (most recent call last):
File "django\tests\inspectdb\tests.py", line 123, in test_number_field_types
assertFieldType('decimal_field', "models.DecimalField(max_digits=6, decimal_places=1)")
File "django\tests\inspectdb\tests.py", line 57, in assertFieldType
self.assertEqual(definition, out_def)
AssertionError: 'models.DecimalField(max_digits=6, decimal_places=1)' != 'models.TextField() # This field type is a guess.'
- models.DecimalField(max_digits=6, decimal_places=1)
+ models.TextField() # This field type is a guess.
Note:
See TracTickets
for help on using tickets.
These failures are related with
cx_Oracle8 and are already fixed.Duplicate of #31751.