X-Git-Url: https://jfr.im/git/z_archive/twitter.git/blobdiff_plain/418e5b80570a3fbd56b671ffc2d95e01ad5420fc..697d6b54ddcd8921773304f0b75d2db77b9c92b5:/tests/test_sanity.py diff --git a/tests/test_sanity.py b/tests/test_sanity.py index cf08339..cb9bf17 100644 --- a/tests/test_sanity.py +++ b/tests/test_sanity.py @@ -47,8 +47,7 @@ def test_API_set_unicode_tweet(): def test_search(): - t_search = Twitter(domain='search.twitter.com') - results = t_search.search(q='foo') + results = twitter11.search.tweets(q='foo') assert results @@ -77,4 +76,3 @@ def test_TwitterHTTPError_raised_for_invalid_oauth(): # this is the error we are looking for :) test_passed = True assert test_passed -