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:
@@ -314,7 +314,9 @@ action)</option>
|
||||
self.assertContains(
|
||||
response,
|
||||
"jquery.min.js",
|
||||
msg_prefix="jQuery missing from admin pages for model with no admin actions",
|
||||
msg_prefix=(
|
||||
"jQuery missing from admin pages for model with no admin actions"
|
||||
),
|
||||
)
|
||||
|
||||
def test_action_column_class(self):
|
||||
@@ -365,7 +367,10 @@ action)</option>
|
||||
response = self.client.post(url, action_data)
|
||||
self.assertRedirects(response, url, fetch_redirect_response=False)
|
||||
response = self.client.get(response.url)
|
||||
msg = "Items must be selected in order to perform actions on them. No items have been changed."
|
||||
msg = (
|
||||
"Items must be selected in order to perform actions on them. No items have "
|
||||
"been changed."
|
||||
)
|
||||
self.assertContains(response, msg)
|
||||
self.assertEqual(Subscriber.objects.count(), 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user