Whitespace trim

This commit is contained in:
sneakypete81 2013-09-01 18:35:28 +01:00
parent 13331efe0d
commit ba503bea6b

View file

@ -7,9 +7,9 @@ from tests.functional import test_base
class TestActivities(test_base.TestBase): class TestActivities(test_base.TestBase):
testcase_name = "activity API" testcase_name = "activity API"
def test_list(self): def test_list(self):
""" """
Upload three photos, and check that three corresponding activities Upload three photos, and check that three corresponding activities
are created. are created.
""" """
@ -36,7 +36,7 @@ class TestActivities(test_base.TestBase):
""" Test that the view endpoint is working correctly """ """ Test that the view endpoint is working correctly """
activity = self.client.activities.list()[0] activity = self.client.activities.list()[0]
fields = activity.get_fields().copy() fields = activity.get_fields().copy()
# Check that the view method returns the same data as the list # Check that the view method returns the same data as the list
activity.view() activity.view()
self.assertEqual(fields, activity.get_fields()) self.assertEqual(fields, activity.get_fields())