Skip to content
Browse files

Cleaned up multiple hashes at the end of some test comments.

  • Loading branch information...
1 parent 0208682 commit ef3f62f3930f61205f72fef2f3d4cbc6f55cd05a @selwin committed Aug 31, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/regressiontests/forms/tests/models.py
View
8 tests/regressiontests/forms/tests/models.py
@@ -106,7 +106,7 @@ def test_initial_instance_value(self):
class FormsModelTestCase(TestCase):
def test_unicode_filename(self):
- # FileModel with unicode filename and data #########################
+ # FileModel with unicode filename and data
f = FileForm(data={}, files={'file1': SimpleUploadedFile('我隻氣墊船裝滿晒鱔.txt', 'मेरी मँडराने वाली नाव सर्पमीनों से भरी ह'.encode('utf-8'))}, auto_id=False)
self.assertTrue(f.is_valid())
self.assertTrue('file1' in f.cleaned_data)
@@ -115,11 +115,11 @@ def test_unicode_filename(self):
m.delete()
def test_incorrect_instance_raises_exception(self):
- # ModelForm with incorrect instance raises ValueError on init ##########
+ # ModelForm with incorrect instance raises ValueError on init
self.assertRaises(ValueError, ChoiceFieldForm, instance=Group)
def test_boundary_conditions(self):
- # Boundary conditions on a PostitiveIntegerField #########################
+ # Boundary conditions on a PostitiveIntegerField
class BoundaryForm(ModelForm):
class Meta:
model = BoundaryModel
@@ -132,7 +132,7 @@ class Meta:
self.assertFalse(f.is_valid())
def test_formfield_initial(self):
- # Formfield initial values ########
+ # Formfield initial values
# If the model has default values for some fields, they are used as the formfield
# initial values.
class DefaultsForm(ModelForm):

0 comments on commit ef3f62f

Please sign in to comment.
Something went wrong with that request. Please try again.