THRIFT-3337 Add testBool method to cross tests

This closes #611
diff --git a/test/py/TestClient.py b/test/py/TestClient.py
index a810b3f..592a541 100755
--- a/test/py/TestClient.py
+++ b/test/py/TestClient.py
@@ -101,6 +101,10 @@
     self.assertEqual(self.client.testString('Python' * 20), 'Python' * 20)
     self.assertEqual(self.client.testString(''), '')
 
+  def testBool(self):
+    self.assertEqual(self.client.testBool(True), True)
+    self.assertEqual(self.client.testBool(False), False)
+
   def testByte(self):
     self.assertEqual(self.client.testByte(63), 63)
     self.assertEqual(self.client.testByte(-127), -127)
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