MCPcopy
hub / github.com/csev/py4e / test_me

Function test_me

code3/twurl.py:22–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def test_me():
23 print('* Calling Twitter...')
24 url = augment('https://api.twitter.com/1.1/statuses/user_timeline.json',
25 {'screen_name': 'drchuck', 'count': '2'})
26 print(url)
27 connection = urllib.request.urlopen(url)
28 data = connection.read()
29 print(data)
30 headers = dict(connection.getheaders())
31 print(headers)

Callers

nothing calls this directly

Calls 3

printFunction · 0.85
readMethod · 0.80
augmentFunction · 0.70

Tested by

no test coverage detected