commit | a649e7473bd0229f160332f0c80407ba49765065 | [log] [tgz] |
---|---|---|
author | Nobuaki Sukegawa <nsukeg@gmail.com> | Mon Sep 21 13:53:25 2015 +0900 |
committer | Roger Meier <roger@apache.org> | Mon Sep 21 23:07:39 2015 +0200 |
tree | 44dea5abd7123a132851b6e1e181bf6caf3d3a44 | |
parent | 245c347b7374182f8142ac07e43473ddd8c4d0de [diff] [blame] |
THRIFT-3337 Add testBool method to cross tests This closes #611
diff --git a/test/py/TestServer.py b/test/py/TestServer.py index bcf9376..89b74da 100755 --- a/test/py/TestServer.py +++ b/test/py/TestServer.py
@@ -76,6 +76,11 @@ print 'testString(%s)' % str return str + def testBool(self, boolean): + if options.verbose > 1: + print 'testBool(%s)' % str(boolean).lower() + return boolean + def testByte(self, byte): if options.verbose > 1: print 'testByte(%d)' % byte