mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Removed obsolete Oracle's test_client_encoding() test.
encoding and nencoding parameters were deprecated in cx_Oracle 8.2. Moreover, encoding is handled internally between cx_Oracle and Oracle Database and there is no need to test it.
This commit is contained in:
parent
eb901681ab
commit
826701232c
@ -37,12 +37,6 @@ class Tests(unittest.TestCase):
|
||||
cursor.execute("BEGIN %s := 'X'; END; ", [var])
|
||||
self.assertEqual(var.getvalue(), 'X')
|
||||
|
||||
def test_client_encoding(self):
|
||||
"""Client encoding is set correctly."""
|
||||
connection.ensure_connection()
|
||||
self.assertEqual(connection.connection.encoding, 'UTF-8')
|
||||
self.assertEqual(connection.connection.nencoding, 'UTF-8')
|
||||
|
||||
def test_order_of_nls_parameters(self):
|
||||
"""
|
||||
An 'almost right' datetime works with configured NLS parameters
|
||||
|
Loading…
Reference in New Issue
Block a user