def METHOD_NAME():
  c = client.FileSystem(SERVER_URL)
  handler = AsyncResponseHandler()
  response = c.locate('/tmp', OpenFlags.REFRESH, callback=handler)
  status, response, hostlist = handler.wait()
  assert status.ok
  for item in response:
    assert item