0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Fixed refs #23987 test on Oracle.

This commit is contained in:
Tim Graham 2014-12-15 18:15:55 -05:00
parent 3ef50a772b
commit ac5f2a4ef7

View File

@ -1196,4 +1196,4 @@ class SchemaTests(TransactionTestCase):
with connection.cursor() as cursor:
cursor.execute("SELECT surname FROM schema_author;")
item = cursor.fetchall()[0]
self.assertEqual(item[0], '')
self.assertEqual(item[0], None if connection.features.interprets_empty_strings_as_nulls else '')