-def test_API_friendship_exists():
- assert True == twitter.friendships.exists(
- user_a='ptttest0001', user_b='sixohsix')
- assert False == twitter.friendships.exists(
- user_a='gruber', user_b='ptttest0001')
+def test_search():
+ # In 1.1, search works on api.twitter.com not search.twitter.com
+ # and requires authorisation
+ results = twitter11.search.tweets(q='foo')
+ assert results
+
+
+def test_get_trends():
+ # This is one method of inserting parameters, using named
+ # underscore params.
+ world_trends = twitter11.trends._woeid(_woeid=1)
+ assert world_trends
+
+
+def test_get_trends_2():
+ # This is a nicer variation of the same call as above.
+ world_trends = twitter11.trends._(1)
+ assert world_trends
+
+
+def test_get_trends_3():
+ # Of course they broke it all again in 1.1...
+ assert twitter11.trends.place(_id=1)
+
+# End of file