Whitespace trim
This commit is contained in:
parent
13331efe0d
commit
ba503bea6b
1 changed files with 3 additions and 3 deletions
|
@ -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())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue