def assertReadFromAll(testcase, client, members, *args, **kwargs):
 members = set(members)
 used = set()
 for _ in range(100):
  used.add(read_from_which_host(client, *args, **kwargs))
 testcase.assertEqual(members, used)

def assertReadFromAll ( testcase , client , members , * args , ** kwargs ) : members = set ( members ) used = set ( ) for _ in range ( 100 ) : used . add ( read_from_which_host ( client , * args , ** kwargs ) ) testcase . assertEqual ( members , used )
check that a query with the given mode and tag_sets reads from all members in a set .