Skip to content

Commit 7acde58

Browse files
committed
fixed 2 tests and dropped 2.6 support
1 parent 0920899 commit 7acde58

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: python
22
python:
3-
- 2.6
43
- 2.7
54
- 3.3
65
- 3.4

stream/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,15 @@ def test_empty_do_i_follow(self):
237237
social = client.feed('user', 'psocial')
238238
social.follow('user', 'apy')
239239
social.follow('user', 'bpy')
240-
followings = social.following(filter=['user:missingpy'])
240+
followings = social.following(feeds=['user:missingpy'])
241241
self.assertEqual(len(followings['results']), 0)
242242
self.assertEqual(followings['results'], [])
243243

244244
def test_do_i_follow(self):
245245
social = client.feed('user', 'psocial')
246246
social.follow('user', 'apy')
247247
social.follow('user', 'bpy')
248-
followings = social.following(filter=['user:apy'])
248+
followings = social.following(feeds=['user:apy'])
249249
self.assertEqual(len(followings['results']), 1)
250250
self.assertEqual(followings['results'][0]['feed_id'], 'user:psocial')
251251
self.assertEqual(followings['results'][0]['target_id'], 'user:apy')

0 commit comments

Comments
 (0)