Changeset: 5de6e2dfcce9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5de6e2dfcce9
Modified Files:
        clients/python3/test/capabilities.py
        sql/test/mapi/Tests/python3_test_monetdb_sql.stable.err
Branch: Oct2012
Log Message:

activate BOOL test also with Python3


diffs (37 lines):

diff --git a/clients/python3/test/capabilities.py 
b/clients/python3/test/capabilities.py
--- a/clients/python3/test/capabilities.py
+++ b/clients/python3/test/capabilities.py
@@ -334,6 +334,13 @@ class DatabaseTest(unittest.TestCase):
             ('col1 char(1)','col2 char(1)'),
             generator)
 
+    def test_BOOL(self):
+        def generator(row,col):
+            return bool(row%2)
+        self.check_data_integrity(
+            ('col1 BOOL',),
+            generator)
+
     def test_description(self):
         self.table = self.new_table_name()
         shouldbe = [
diff --git a/sql/test/mapi/Tests/python3_test_monetdb_sql.stable.err 
b/sql/test/mapi/Tests/python3_test_monetdb_sql.stable.err
--- a/sql/test/mapi/Tests/python3_test_monetdb_sql.stable.err
+++ b/sql/test/mapi/Tests/python3_test_monetdb_sql.stable.err
@@ -80,6 +80,7 @@ stderr of test 'python3_test_monetdb_sql
 # 11:54:47 >  
 
 test_BLOB (__main__.Test_Capabilities) ... ok
+test_BOOL (__main__.Test_Capabilities) ... ok
 test_CHAR (__main__.Test_Capabilities) ... ok
 test_DATE (__main__.Test_Capabilities) ... ok
 test_DATETIME (__main__.Test_Capabilities) ... ok
@@ -102,7 +103,7 @@ test_transactions (__main__.Test_Capabil
 test_truncation (__main__.Test_Capabilities) ... ok
 
 ----------------------------------------------------------------------
-Ran 21 tests
+Ran 22 tests
 
 OK
 test_BINARY (__main__.Test_DBAPI20) ... ok
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to