diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-26 12:15:03 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-26 12:15:03 -0700 |
commit | 9d740eb8b15de31f1c5520659df683d90342bb44 (patch) | |
tree | 62b6ff49e5a60467828f9b04d46b6ebeac86c333 /tests/raw_query | |
parent | f2d8027c9aea93750fc4213d9e733c8575e89502 (diff) | |
download | django-9d740eb8b15de31f1c5520659df683d90342bb44.tar.gz |
Fix all violators of E231
Diffstat (limited to 'tests/raw_query')
-rw-r--r-- | tests/raw_query/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/raw_query/tests.py b/tests/raw_query/tests.py index 06c9b11230..b57ce52f0b 100644 --- a/tests/raw_query/tests.py +++ b/tests/raw_query/tests.py @@ -32,11 +32,11 @@ class RawQueryTests(TestCase): for field in model._meta.fields: # Check that all values on the model are equal - self.assertEqual(getattr(item,field.attname), - getattr(orig_item,field.attname)) + self.assertEqual(getattr(item, field.attname), + getattr(orig_item, field.attname)) # This includes checking that they are the same type - self.assertEqual(type(getattr(item,field.attname)), - type(getattr(orig_item,field.attname))) + self.assertEqual(type(getattr(item, field.attname)), + type(getattr(orig_item, field.attname))) def assertNoAnnotations(self, results): """ |