File tree Expand file tree Collapse file tree 7 files changed +5
-15
lines changed Expand file tree Collapse file tree 7 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -1059,7 +1059,6 @@ def __str__(self):
10591059
10601060
10611061class Check (models .Model ):
1062-
10631062 """Check for a patch.
10641063
10651064 Checks store the results of any tests executed (or executing) for a
Original file line number Diff line number Diff line change 2020
2121
2222class PatchNotificationModelTest (TestCase ):
23-
2423 """Tests for the creation and update of the PatchChangeNotifications."""
2524
2625 def setUp (self ):
Original file line number Diff line number Diff line change 1212
1313
1414class SubmitterCompletionTest (TestCase ):
15-
1615 """Validate the 'submitter' autocomplete endpoint."""
1716
1817 def test_name_complete (self ):
Original file line number Diff line number Diff line change @@ -222,7 +222,6 @@ def setUp(self):
222222
223223
224224class BundlePublicModifyTest (BundleTestBase ):
225-
226225 """Ensure that non-owners can't modify bundles"""
227226
228227 def setUp (self ):
@@ -275,7 +274,6 @@ def test_bundle_form_submission(self):
275274
276275
277276class BundlePrivateViewTest (BundleTestBase ):
278-
279277 """Ensure that non-owners can't view private bundles"""
280278
281279 def setUp (self ):
@@ -306,7 +304,6 @@ def test_private_bundle(self):
306304
307305@override_settings (ENABLE_REST_API = True )
308306class BundlePrivateViewMboxTest (BundlePrivateViewTest ):
309-
310307 """Ensure that non-owners can't view private bundle mboxes"""
311308
312309 def setUp (self ):
@@ -704,7 +701,6 @@ def test_add_to_non_empty_bundle(self):
704701
705702
706703class BundleInitialOrderTest (BundleTestBase ):
707-
708704 """When creating bundles from a patch list, ensure that the patches in the
709705 bundle are ordered by date"""
710706
Original file line number Diff line number Diff line change @@ -175,7 +175,6 @@ def test_valid_hash(self):
175175
176176
177177class OptoutPreexistingTest (OptoutTest ):
178-
179178 """Test that a duplicated opt-out behaves the same as the initial one"""
180179
181180 def setUp (self ):
@@ -280,7 +279,6 @@ def test_valid_hash(self):
280279
281280
282281class OptinWithoutOptoutTest (TestCase ):
283-
284282 """Test an opt-in with no existing opt-out."""
285283
286284 def test_opt_in_without_optout (self ):
@@ -294,7 +292,6 @@ def test_opt_in_without_optout(self):
294292
295293
296294class UserProfileOptoutFormTest (TestCase ):
297-
298295 """Validate presence of correct optin/optout forms."""
299296
300297 form_re_template = (
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ def test_utf8_nbsp_tags(self):
3838 """Test that UTF-8 NBSP characters are correctly handled."""
3939 patch = create_patch (content = 'patch text\n ' )
4040 create_patch_comment (
41- patch = patch , content = 'comment\n Acked-by:\u00A0 foo'
41+ patch = patch , content = 'comment\n Acked-by:\u00a0 foo'
4242 )
4343
4444 mbox = utils .patch_to_mbox (patch )
45- self .assertIn ('\u00A0 foo\n ' , mbox )
45+ self .assertIn ('\u00a0 foo\n ' , mbox )
4646
4747 def test_multiple_tags (self ):
4848 """Test that the mbox view appends tags correct.
Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ def _optinout(request, action):
7878
7979 form = EmailForm (data = request .POST )
8080 if not form .is_valid ():
81- context [
82- 'error'
83- ] = 'There was an error in the form. Please review and re-submit.'
81+ context ['error' ] = (
82+ 'There was an error in the form. Please review and re-submit. '
83+ )
8484 context ['form' ] = form
8585 return render (request , html_template , context )
8686
You can’t perform that action at this time.
0 commit comments