Skip to content

Commit a0fa4a9

Browse files
committed
small todo
1 parent cab37b4 commit a0fa4a9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎stream/feed.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ def __init__(self, client, feed_id, token):
1313
1414
'''
1515
self.client = client
16+
# TODO: rename feed_id to feed.id everywhere
17+
self.id = feed_id
1618
self.feed_id = feed_id
1719
self.feed_url = 'feed/%s/' % feed_id.replace(':', '/')
1820
self.feed_together = feed_id.replace(':', '')

‎stream/tests.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_get_followings(self):
208208

209209
def test_empty_followers(self):
210210
asocial = client.feed('user:asocialpython')
211-
followers = asocial.following()
211+
followers = asocial.followers()
212212
self.assertEqual(len(followers['results']), 0)
213213
self.assertEqual(followers['results'], [])
214214

0 commit comments

Comments
 (0)