mirror of
https://github.com/django/django.git
synced 2024-11-18 07:26:04 +00:00
c6a3546093
Regression in 69b7d4b116
.
12 lines
377 B
Python
12 lines
377 B
Python
import unittest
|
|
|
|
from django.db import connection
|
|
|
|
|
|
@unittest.skipUnless(connection.vendor == 'oracle', 'Oracle tests')
|
|
class OperationsTests(unittest.TestCase):
|
|
|
|
def test_sequence_name_truncation(self):
|
|
seq_name = connection.ops._get_no_autofield_sequence_name('schema_authorwithevenlongee869')
|
|
self.assertEqual(seq_name, 'SCHEMA_AUTHORWITHEVENLOB0B8_SQ')
|