def lookup_many_test():
    data = lookup_many(test_users)

    assert isinstance(data, dict), 'lookup_many data is not a dict'
    assert len(data.items()) == 2, 'lookup_many did not return 2 profiles'

    cache.clear('twitter.users.lookup', test_user)
    data = lookup_many(itertools.repeat(test_user, 110))
def lookup_many_test():
    data = lookup_many(test_users)

    assert isinstance(data,dict), 'lookup_many data is not a dict'
    assert len(data.items()) == 2, 'lookup_many did not return 2 profiles'

    cache.clear('twitter.users.lookup',test_user)
    data = lookup_many(itertools.repeat(test_user,110))
def setup():
    for method in cache.method_names:
        cache.clear(method, test_users)
    print "SETUP!"
def setup():
    for method in cache.method_names:
        cache.clear(method,test_users)
    print "SETUP!"