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