remove redundant whitespace

This commit is contained in:
Stefan Wojcik 2016-12-22 13:13:19 -05:00
parent b8454c7f5b
commit 96d20756ca

View File

@ -1057,7 +1057,6 @@ class FieldTest(unittest.TestCase):
BlogPost.drop_collection() BlogPost.drop_collection()
def test_list_field_manipulative_operators(self): def test_list_field_manipulative_operators(self):
"""Ensure that ListField works with standard list operators that manipulate the list. """Ensure that ListField works with standard list operators that manipulate the list.
""" """
@ -1078,7 +1077,7 @@ class FieldTest(unittest.TestCase):
# '__add__(listB)' # '__add__(listB)'
# listA+listB # listA+listB
# operator.add(listA, listB) # operator.add(listA, listB)
reset_post() reset_post()
temp = ['a', 'b'] temp = ['a', 'b']
post.info = post.info + temp post.info = post.info + temp
@ -1298,7 +1297,7 @@ class FieldTest(unittest.TestCase):
self.assertEqual(blogLargeB.bool_info, [False, False, True, True]) self.assertEqual(blogLargeB.bool_info, [False, False, True, True])
BlogPost.drop_collection() BlogPost.drop_collection()
def test_list_assignment(self): def test_list_assignment(self):
"""Ensure that list field element assignment and slicing work """Ensure that list field element assignment and slicing work
""" """
@ -1346,7 +1345,6 @@ class FieldTest(unittest.TestCase):
post.reload() post.reload()
self.assertEqual(post.info, [1, 2, 3, 4, 'n5']) self.assertEqual(post.info, [1, 2, 3, 4, 'n5'])
def test_list_field_passed_in_value(self): def test_list_field_passed_in_value(self):
class Foo(Document): class Foo(Document):
bars = ListField(ReferenceField("Bar")) bars = ListField(ReferenceField("Bar"))