mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -678,7 +678,10 @@ class InvalidCreateArgumentsTests(TransactionTestCase):
|
||||
)
|
||||
|
||||
def test_property_attribute_without_setter_kwargs(self):
|
||||
msg = "Cannot resolve keyword 'name_in_all_caps' into field. Choices are: id, name, tags"
|
||||
msg = (
|
||||
"Cannot resolve keyword 'name_in_all_caps' into field. Choices are: id, "
|
||||
"name, tags"
|
||||
)
|
||||
with self.assertRaisesMessage(FieldError, msg):
|
||||
Thing.objects.update_or_create(
|
||||
name_in_all_caps="FRANK", defaults={"name": "Frank"}
|
||||
|
||||
Reference in New Issue
Block a user