mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
parent
9c19aff7c7
commit
7119f40c98
404 changed files with 5944 additions and 2842 deletions
|
@ -809,7 +809,10 @@ class ModelRefreshTests(TestCase):
|
|||
|
||||
def test_lookup_in_fields(self):
|
||||
s = SelfRef.objects.create()
|
||||
msg = 'Found "__" in fields argument. Relations and transforms are not allowed in fields.'
|
||||
msg = (
|
||||
'Found "__" in fields argument. Relations and transforms are not allowed '
|
||||
"in fields."
|
||||
)
|
||||
with self.assertRaisesMessage(ValueError, msg):
|
||||
s.refresh_from_db(fields=["foo__bar"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue