THRIFT-136. s/async/oneway/ in misc places
This is mostly an internal-only change.
It affects docstrings, messages, variables, test cases, etc.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@757992 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/py/TestClient.py b/test/py/TestClient.py
index 944e384..c5c8bdc 100755
--- a/test/py/TestClient.py
+++ b/test/py/TestClient.py
@@ -104,12 +104,12 @@
except Exception: # type is undefined
pass
- def testAsync(self):
+ def testOneway(self):
start = time.time()
- self.client.testAsync(0.5)
+ self.client.testOneway(0.5)
end = time.time()
self.assertTrue(end - start < 0.2,
- "async sleep took %f sec" % (end - start))
+ "oneway sleep took %f sec" % (end - start))
class NormalBinaryTest(AbstractTest):
protocol_factory = TBinaryProtocol.TBinaryProtocolFactory()