-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():
+ results = twitter11.search.tweets(q='foo')
+ assert results
+
+
+def test_get_trends_3():
+ # Of course they broke it all again in 1.1...
+ assert twitter11.trends.place(_id=1)
+
+def test_TwitterHTTPError_raised_for_invalid_oauth():
+ test_passed = False
+ try:
+ twitter11_na.statuses.mentions_timeline()
+ except TwitterHTTPError:
+ # this is the error we are looking for :)
+ test_passed = True
+ assert test_passed