diff --git a/tests/bulk_create/models.py b/tests/bulk_create/models.py
index b98ce4a..213d701 100644
a
|
b
|
except ImportError:
|
13 | 13 | |
14 | 14 | class Country(models.Model): |
15 | 15 | name = models.CharField(max_length=255) |
| 16 | description = models.TextField() |
16 | 17 | iso_two_letter = models.CharField(max_length=2) |
17 | 18 | |
18 | 19 | |
diff --git a/tests/bulk_create/tests.py b/tests/bulk_create/tests.py
index f401d4e..85aa6d4 100644
a
|
b
|
class BulkCreateTests(TestCase):
|
39 | 39 | with self.assertNumQueries(1): |
40 | 40 | Country.objects.bulk_create(self.data) |
41 | 41 | |
| 42 | @skipUnlessDBFeature('has_bulk_insert') |
| 43 | def test_oracle_long_text_edge_case(self): |
| 44 | """Ticket 22144.""" |
| 45 | Country.objects.bulk_create([Country(description='Ж'*3000)]) |
| 46 | |
42 | 47 | def test_multi_table_inheritance_unsupported(self): |
43 | 48 | expected_message = "Can't bulk create a multi-table inherited model" |
44 | 49 | with self.assertRaisesMessage(ValueError, expected_message): |