MCPcopy Index your code
hub / github.com/ryanmcgrath/twython / test_encode

Method test_encode

tests/test_core.py:297–299  ·  view source on GitHub ↗

Test encoding UTF-8 works

(self)

Source from the content-addressed store, hash-verified

295 self.assertEqual(constructed_url, 'https://api.twitter.com/1.1/search/tweets.json?q=%23twitter')
296
297 def test_encode(self):
298 """Test encoding UTF-8 works"""
299 self.api.encode('Twython is awesome!')
300
301 def test_cursor_requires_twython_function(self):
302 """Test that cursor() raises when called without a Twython function"""

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected