0
0
mirror of https://github.com/django/django.git synced 2024-11-21 19:09:18 +01:00

rename test

This commit is contained in:
Ben Cail 2024-06-14 09:30:52 -04:00
parent ca2d47af1d
commit 5233202b2b

View File

@ -2331,7 +2331,7 @@ class SchemaTests(TransactionTestCase):
self.assertForeignKeyExists(Book, "author_id", "schema_author", "renamed") self.assertForeignKeyExists(Book, "author_id", "schema_author", "renamed")
@isolate_apps("schema") @isolate_apps("schema")
def test_remove_primary_key_from_model(self): def test_remove_primary_key_field_so_model_is_empty(self):
class Author(Model): class Author(Model):
name = CharField(max_length=255, primary_key=True) name = CharField(max_length=255, primary_key=True)