From: Aaron Hill Date: Sat, 22 Feb 2014 04:13:36 +0000 (-0500) Subject: Get parameters from Requests session X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1c037292ad0545ec3d4489a86035fa5546b36949;p=tweepy.git Get parameters from Requests session --- diff --git a/tests/test_streaming.py b/tests/test_streaming.py index dad4229..f9008bc 100644 --- a/tests/test_streaming.py +++ b/tests/test_streaming.py @@ -84,7 +84,7 @@ class TweepyStreamTests(unittest.TestCase): s.filter(track=[u'Caf\xe9']) # Should be UTF-8 encoded - self.assertEqual(u'Caf\xe9'.encode('utf8'), s.parameters['track']) + self.assertEqual(u'Caf\xe9'.encode('utf8'), s.session.params['track']) def test_follow_encoding(self): s = Stream(None, None) @@ -92,7 +92,7 @@ class TweepyStreamTests(unittest.TestCase): s.filter(follow=[u'Caf\xe9']) # Should be UTF-8 encoded - self.assertEqual(u'Caf\xe9'.encode('utf8'), s.parameters['follow']) + self.assertEqual(u'Caf\xe9'.encode('utf8'), s.session.params['follow']) class TweepyStreamBackoffTests(unittest.TestCase): def setUp(self):