[Django] #31800: Oracle InspectDB tests fail on Windows

24 views
Skip to first unread message

Django

unread,
Jul 18, 2020, 12:12:36 PM7/18/20
to django-...@googlegroups.com
#31800: Oracle InspectDB tests fail on Windows
-------------------------------------+-------------------------------------
Reporter: Ahmad A. | Owner: nobody
Hussein |
Type: Bug | Status: new
Component: Database | Version: master
layer (models, ORM) | Keywords: oracle, inspectdb,
Severity: Normal | windows
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
{{{
======================================================================
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.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31800>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 18, 2020, 12:42:55 PM7/18/20
to django-...@googlegroups.com
#31800: Oracle InspectDB tests fail on Windows
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: oracle, inspectdb, | Triage Stage:
windows | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* status: new => closed
* resolution: => duplicate


Comment:

These failures are related with `cx_Oracle` 8 and are already fixed.

Duplicate of #31751.

--
Ticket URL: <https://code.djangoproject.com/ticket/31800#comment:1>

Reply all
Reply to author
Forward
0 new messages