From 1c037292ad0545ec3d4489a86035fa5546b36949 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Fri, 21 Feb 2014 23:13:36 -0500 Subject: [PATCH] Get parameters from Requests session --- tests/test_streaming.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.25.1