Changeset: 7206e551c45f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7206e551c45f
Modified Files:
        clients/Tests/MAL-signatures.SQL.py
        testing/sqltest.py
Branch: mtest
Log Message:

fix typos in clients/Tests/MAL-signatures.SQL.py


diffs (35 lines):

diff --git a/clients/Tests/MAL-signatures.SQL.py 
b/clients/Tests/MAL-signatures.SQL.py
--- a/clients/Tests/MAL-signatures.SQL.py
+++ b/clients/Tests/MAL-signatures.SQL.py
@@ -1,6 +1,6 @@
 from MonetDBtesting.sqltest import SQLTestCase
-
+qry="""select * from sys.malfunctions() order by module, "function", address, 
signature, comment;"""
 with SQLTestCase() as tc:
-    tc.execute("select * from sys.malfunctions() order by module, function, 
address, signature, comment", client='mclient')\
-            .assertSucceeded()
-            .assertMatchStableOut("MAL-signitures.stable.out")
+    tc.execute(qry, client='mclient')\
+            .assertSucceeded()\
+            .assertMatchStableOut("MAL-signatures.stable.out")
diff --git a/testing/sqltest.py b/testing/sqltest.py
--- a/testing/sqltest.py
+++ b/testing/sqltest.py
@@ -206,7 +206,7 @@ class TestCaseResult(object):
     def assertResultHashTo(self, hash_value):
         raise NotImplementedError()
 
-class MclientTestResult(RunnableTestResult, TestCaseResult):
+class MclientTestResult(TestCaseResult, RunnableTestResult):
     """Holder of a sql execution result as returned from mclinet"""
 
     def __init__(self, test_case):
@@ -282,7 +282,7 @@ class MclientTestResult(RunnableTestResu
         return self
 
 
-class PyMonetDBTestResult(RunnableTestResult, TestCaseResult):
+class PyMonetDBTestResult(TestCaseResult, RunnableTestResult):
     """Holder of sql execution information. Managed by SQLTestCase."""
     test_case = None
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to