mirror of
https://github.com/django/django.git
synced 2024-11-21 19:09:18 +01:00
rename test
This commit is contained in:
parent
ca2d47af1d
commit
5233202b2b
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user