diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-10 16:42:30 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-10 16:49:20 -0400 |
| commit | 1dae4ac1778f04805c0ed62c8debb13b281ba02b (patch) | |
| tree | 5105833792cc07336de819effb1c9dccdbc0c76e /tests/validation | |
| parent | ca874b2fe6f768bd042b859d7eba622a68e9f9dd (diff) | |
Whitespace cleanup.
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.
Diffstat (limited to 'tests/validation')
| -rw-r--r-- | tests/validation/__init__.py | 1 | ||||
| -rw-r--r-- | tests/validation/test_custom_messages.py | 1 | ||||
| -rw-r--r-- | tests/validation/test_unique.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/tests/validation/__init__.py b/tests/validation/__init__.py index 5daa06be66..ba35963744 100644 --- a/tests/validation/__init__.py +++ b/tests/validation/__init__.py @@ -13,4 +13,3 @@ class ValidationTestCase(TestCase): clean() self.assertIn(field_name, cm.exception.message_dict) self.assertEqual(message, cm.exception.message_dict[field_name]) - diff --git a/tests/validation/test_custom_messages.py b/tests/validation/test_custom_messages.py index 2e259b7aef..b33e232e88 100644 --- a/tests/validation/test_custom_messages.py +++ b/tests/validation/test_custom_messages.py @@ -10,4 +10,3 @@ class CustomMessagesTest(ValidationTestCase): def test_custom_null_message(self): cmm = CustomMessagesModel() self.assertFieldFailsValidationWithMessage(cmm.full_clean, 'number', ['NULL']) - diff --git a/tests/validation/test_unique.py b/tests/validation/test_unique.py index bca1b36c93..79b197a262 100644 --- a/tests/validation/test_unique.py +++ b/tests/validation/test_unique.py @@ -141,4 +141,3 @@ class PerformUniqueChecksTest(TestCase): with self.assertRaises(ValidationError) as cm: m.full_clean() self.assertEqual(cm.exception.message_dict, {'no': ['Custom unique number message.']}) - |
