Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Marked a test as expected failure. Refs #19884

  • Loading branch information...
commit f565c6f9994b2559a5164dc709a926eac7ebd5fe 1 parent 88c726b
Anssi Kääriäinen akaariai authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 tests/regressiontests/inspectdb/tests.py
7 tests/regressiontests/inspectdb/tests.py
View
@@ -5,8 +5,13 @@
from django.core.management import call_command
from django.db import connection
from django.test import TestCase, skipUnlessDBFeature
+from django.utils.unittest import expectedFailure
from django.utils.six import StringIO
+if connection.vendor == 'oracle':
+ expectedFailureOnOracle = expectedFailure
+else:
+ expectedFailureOnOracle = lambda f: f
class InspectDBTestCase(TestCase):
@@ -23,6 +28,8 @@ def test_stealth_table_name_filter_option(self):
# inspected
self.assertNotIn("class DjangoContentType(models.Model):", out.getvalue(), msg=error_message)
+ # Inspecting oracle DB doesn't produce correct results, see #19884
+ @expectedFailureOnOracle
def test_field_types(self):
"""Test introspection of various Django field types"""
out = StringIO()
Please sign in to comment.
Something went wrong with that request. Please try again.