Skip to content

Commit 4a22517

Browse files
committed
and again
1 parent 839af8a commit 4a22517

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎stream/client.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def __init__(self, api_key, api_secret, app_id, version='v1.0', timeout=3.0, bas
4747
if os.environ.get('LOCAL'):
4848
self.base_url = 'http://localhost:8000/api/'
4949
self.session = requests.Session()
50+
# TODO: turn this back on after we verify it doesnt retry on slower requests
5051
self.session.mount(self.base_url, HTTPAdapter(max_retries=0))
5152

5253
def feed(self, feed_slug, user_id):

‎stream/tests.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ def test_follow_private(self):
162162
self.assertEqual(activity_id_found, activity_id)
163163

164164
def test_flat_follow(self):
165-
feed = client.feed('user', 'test_flat_follow')
165+
feed = client.feed('user', 'test_flat_follow' + random_postfix)
166166
activity_data = {'actor': 1, 'verb': 'tweet', 'object': 1}
167167
activity_id = feed.add_activity(activity_data)['id']
168-
self.flat3.follow('user', 'test_flat_follow')
168+
self.flat3.follow('user', 'test_flat_follow' + random_postfix)
169169
time.sleep(10)
170170
activities = self.flat3.get(limit=3)['results']
171171
activity = self._get_first_activity(activities)

0 commit comments

Comments
 (0)