Fix feed testcase
This commit is contained in:
@@ -79,11 +79,6 @@ class FeedTestCase(APITestCase):
|
||||
feeds = Feed.objects.all()
|
||||
serializer = FeedSerializer(feeds, many=True)
|
||||
|
||||
# Remove icon info because they are different when sent compared to what is returned
|
||||
for tag in serializer.data[0]['tags']:
|
||||
tag['icon'] = "empty"
|
||||
for tag in response.data[0]['tags']:
|
||||
tag['icon'] = "empty"
|
||||
self.assertEqual(response.data, serializer.data)
|
||||
|
||||
def test_post_feed(self):
|
||||
|
||||
Reference in New Issue
Block a user